minor optimization

This commit is contained in:
Miroslav Stampar
2011-11-20 20:14:47 +00:00
parent 7c1af97852
commit 440b7efe55
18 changed files with 44 additions and 44 deletions

View File

@@ -897,7 +897,7 @@ class Enumeration:
value = filter(None, arrayizeValue(value))
if len(value) > 0 and not isinstance(value[0], (list, tuple)):
value = zip([conf.db for i in xrange(len(value))], value)
value = zip((conf.db for i in xrange(len(value))), value)
for db, table in filterPairValues(value):
db = safeSQLIdentificatorNaming(db)