Commit 20587607 authored by Barry Warsaw's avatar Barry Warsaw

Use __version__ to specify the file version, but unpack the $Revision$

string in a safe way.
parent e6e6c45f
......@@ -4,8 +4,7 @@ See Minimal.py for an implementation of Berkeley storage that does not support
undo or versioning.
"""
# $Revision: 1.21 $
__version__ = '0.1'
__version__ = '$Revision: 1.22 $'[-2:][0]
import struct
import time
......
......@@ -4,8 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
and versioning.
"""
# $Revision: 1.8 $
__version__ = '0.1'
__version__ = '$Revision: 1.9 $'[-2:][0]
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
# http://pybsddb.sourceforge.net. It is compatible with release 3.0 of
......
......@@ -4,8 +4,7 @@ See Minimal.py for an implementation of Berkeley storage that does not support
undo or versioning.
"""
# $Revision: 1.21 $
__version__ = '0.1'
__version__ = '$Revision: 1.22 $'[-2:][0]
import struct
import time
......
......@@ -4,8 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
and versioning.
"""
# $Revision: 1.8 $
__version__ = '0.1'
__version__ = '$Revision: 1.9 $'[-2:][0]
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
# http://pybsddb.sourceforge.net. It is compatible with release 3.0 of
......
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