[Zodb-checkins] CVS: ZODB3/ZODB - utils.py:1.15
Jeremy Hylton
jeremy@zope.com
Tue, 10 Dec 2002 16:27:13 -0500
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv17072
Modified Files:
utils.py
Log Message:
Compare to version_info, not version as noted by Greg Ward.
=== ZODB3/ZODB/utils.py 1.14 => 1.15 ===
--- ZODB3/ZODB/utils.py:1.14 Tue Dec 3 13:36:29 2002
+++ ZODB3/ZODB/utils.py Tue Dec 10 16:27:12 2002
@@ -19,7 +19,7 @@
z64 = '\0'*8
-if sys.version >= (2, 2):
+if sys.version_info >= (2, 2):
# Note that the distinction between ints and longs is blurred in
# Python 2.2. So make u64() and U64() the same.