[Checkins] SVN: z3c.saconfig/trunk/ Fixed a small bug in unreleased version 0.11. File utility.py::SA_0_5_andmore - check for the minor revision number was being compared to the major revision number, changed the subscript from 0 to 1 to compare the correct values.
Jeff Peterson
jpeterso at rangebroadband.com
Wed Jun 16 10:09:45 EDT 2010
Log message for revision 113541:
Fixed a small bug in unreleased version 0.11. File utility.py::SA_0_5_andmore - check for the minor revision number was being compared to the major revision number, changed the subscript from 0 to 1 to compare the correct values.
Changed:
U z3c.saconfig/trunk/CHANGES.txt
U z3c.saconfig/trunk/src/z3c/saconfig/utility.py
-=-
Modified: z3c.saconfig/trunk/CHANGES.txt
===================================================================
--- z3c.saconfig/trunk/CHANGES.txt 2010-06-16 14:01:07 UTC (rev 113540)
+++ z3c.saconfig/trunk/CHANGES.txt 2010-06-16 14:09:44 UTC (rev 113541)
@@ -4,8 +4,8 @@
0.11 (unreleased)
=================
-- works with sqlalchemy 0.6
- (could'nt work with sqlalchemy > 5)
+- works with sqlalchemy >= 0.5
+ (would'nt work with sqlalchemy > 5 prior)
0.10 (2010-01-18)
=================
Modified: z3c.saconfig/trunk/src/z3c/saconfig/utility.py
===================================================================
--- z3c.saconfig/trunk/src/z3c/saconfig/utility.py 2010-06-16 14:01:07 UTC (rev 113540)
+++ z3c.saconfig/trunk/src/z3c/saconfig/utility.py 2010-06-16 14:09:44 UTC (rev 113541)
@@ -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][0] >= 5))
+ and int(sqlalchemy.__version__.split('.')[:2][1] >= 5))
if SA_0_5_andmore:
SESSION_DEFAULTS = dict(
More information about the checkins
mailing list