minor update

This commit is contained in:
Miroslav Stampar 2011-10-28 13:16:22 +00:00
parent bd7da45546
commit f574760c12
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,9 @@ class Enumeration(GenericEnumeration):
if retVal:
kb.data.cachedDbs = retVal[0].values()[0]
if kb.data.cachedDbs:
kb.data.cachedDbs.sort()
return kb.data.cachedDbs
def getTables(self, bruteForce=None):

View File

@ -102,6 +102,9 @@ class Enumeration(GenericEnumeration):
kb.data.cachedDbs = retVal[0].values()[0]
break
if kb.data.cachedDbs:
kb.data.cachedDbs.sort()
return kb.data.cachedDbs
def getTables(self, bruteForce=None):