some more refactoring

This commit is contained in:
Miroslav Stampar
2012-01-13 22:00:34 +00:00
parent 8e4b8d345f
commit b2dad63000
5 changed files with 9 additions and 12 deletions

View File

@@ -897,10 +897,7 @@ class Enumeration:
value = map(lambda x: (dbs[0], x), value)
for db, table in filterPairValues(value):
if isinstance(db, (tuple, list)):
db = db[0] if db else ""
db = safeSQLIdentificatorNaming(db)
db = safeSQLIdentificatorNaming(unArrayizeValue(db))
table = safeSQLIdentificatorNaming(table, True)
if not kb.data.cachedTables.has_key(db):