Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2007-01-17 07:56:19 -0700 (Wed, 17 Jan 2007)
New Revision: 2215
Create HasForeign after the Base, but clear it before -
req-d for databases with strict referential integrity.
--- SQLObject/trunk/sqlobject/versioning/test/test_version.py 2007-01-17 14:52:24 UTC (rev 2214)
+++ SQLObject/trunk/sqlobject/versioning/test/test_version.py 2007-01-17 14:56:19 UTC (rev 2215)
@@ -48,7 +48,12 @@
- for cls in [MyClass, Base, Child, Government, Monarchy, VChild, HasForeign, Extra]:
+ classes = [MyClass, Base, Child, Government, Monarchy, VChild, Extra]
+ if hasattr(HasForeign, "_connection"):
+ classes.insert(0, HasForeign)
+ for cls in classes:
if hasattr(cls, 'versions') and hasattr(cls, "_connection") and \
Sign up for the SourceForge newsletter: