[Checkins] SVN: z3c.saconfig/trunk/src/z3c/saconfig/utility.py Fixed a small bug in unreleased version 0.11. File utility.py::SA_0_5_andmore - Had to move a misplaced parenthasis, coupled with the previous subscript issue it caused this expression to always evaluate to True

Jeff Peterson jpeterso at rangebroadband.com
Wed Jun 16 10:25:16 EDT 2010


Log message for revision 113547:
  Fixed a small bug in unreleased version 0.11. File utility.py::SA_0_5_andmore - Had to move a misplaced parenthasis, coupled with the previous subscript issue it caused this expression to always evaluate to True

Changed:
  U   z3c.saconfig/trunk/src/z3c/saconfig/utility.py

-=-
Modified: z3c.saconfig/trunk/src/z3c/saconfig/utility.py
===================================================================
--- z3c.saconfig/trunk/src/z3c/saconfig/utility.py	2010-06-16 14:20:58 UTC (rev 113546)
+++ z3c.saconfig/trunk/src/z3c/saconfig/utility.py	2010-06-16 14:25:15 UTC (rev 113547)
@@ -17,7 +17,7 @@
 
 SA_0_5_andmore = sqlalchemy.__version__ == 'svn' \
     or (int(sqlalchemy.__version__.split('.')[:2][0]) >= 0
-        and int(sqlalchemy.__version__.split('.')[:2][1] >= 5))
+        and int(sqlalchemy.__version__.split('.')[:2][1]) >= 5)
 
 if SA_0_5_andmore:
     SESSION_DEFAULTS = dict(



More information about the checkins mailing list