minor update

This commit is contained in:
Miroslav Stampar 2010-12-26 14:02:16 +00:00
parent ceeb6374e8
commit c93f2a703d

View File

@ -1115,7 +1115,6 @@ class Enumeration:
kb.data.cachedColumns = self.getColumns(onlyColNames=True)
colList = kb.data.cachedColumns[conf.db][conf.tbl].keys()
colList.sort(key=lambda x: x.lower() if isinstance(x, basestring) else None)
if colList in ([None], ['None']):
warnMsg = "unable to retrieve column names"