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: 2005-09-07 14:43:45 +0000 (Wed, 07 Sep 2005)
New Revision: 971
Allow an SQL identifier to be started with an underscore.
--- SQLObject/trunk/sqlobject/sqlbuilder.py 2005-09-02 15:53:50 UTC (rev 970)
+++ SQLObject/trunk/sqlobject/sqlbuilder.py 2005-09-07 14:43:45 UTC (rev 971)
@@ -72,7 +72,7 @@
from converters import sqlrepr, registerConverter, TRUE, FALSE
-safeSQLRE = re.compile(r'^[a-zA-Z][a-zA-Z0-9_\.]*$')
+safeSQLRE = re.compile(r'^[a-zA-Z_][a-zA-Z0-9_\.]*$')
return type(obj) is type("") and not not safeSQLRE.search(obj.strip())
Sign up for the SourceForge newsletter: