Commit e4f620d8 authored by Jim Fulton's avatar Jim Fulton

Fixed bug in date-time handling.

parent 1c7dbc5a
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
__doc__='''Simple RDB data-file reader __doc__='''Simple RDB data-file reader
$Id: RDB.py,v 1.2 1997/07/28 21:30:13 jim Exp $''' $Id: RDB.py,v 1.3 1997/08/07 13:58:07 jim Exp $'''
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
import regex, regsub import regex, regsub
from string import split, strip, lower, atof, atoi, atol from string import split, strip, lower, atof, atoi, atol
...@@ -24,7 +24,7 @@ Parsers={'n': atof, ...@@ -24,7 +24,7 @@ Parsers={'n': atof,
try: try:
import DateTime import DateTime
Parsers['d']=DateTime Parsers['d']=DateTime.DateTime
except: pass except: pass
...@@ -317,6 +317,9 @@ if __name__ == "__main__": main() ...@@ -317,6 +317,9 @@ if __name__ == "__main__": main()
############################################################################## ##############################################################################
# #
# $Log: RDB.py,v $ # $Log: RDB.py,v $
# Revision 1.3 1997/08/07 13:58:07 jim
# Fixed bug in date-time handling.
#
# Revision 1.2 1997/07/28 21:30:13 jim # Revision 1.2 1997/07/28 21:30:13 jim
# Fixed bug in handling errors. # Fixed bug in handling errors.
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment