few fixes related to bug report by Shadow Folder (AttributeError: 'list' object has no attribute 'isdigit')

This commit is contained in:
Miroslav Stampar
2012-04-04 09:25:05 +00:00
parent d5b4b7996a
commit 5e358b51f9
6 changed files with 16 additions and 11 deletions

View File

@@ -123,7 +123,7 @@ class Enumeration(GenericEnumeration):
count = inject.getValue(query, inband=False, error=False, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
if not isNumPosStrValue(count):
if not count.isdigit() and not query2:
if count != 0 and not query2:
infoMsg = "trying with table USER_SYS_PRIVS"
logger.info(infoMsg)