isDbmsWithin() must stay like this, no getIdentifiedDbms() in there

This commit is contained in:
Bernardo Damele
2011-05-03 14:13:45 +00:00
parent 742b0ef76e
commit c58dc4a6d8
2 changed files with 5 additions and 6 deletions

View File

@@ -429,12 +429,7 @@ class Backend:
@staticmethod
def isDbmsWithin(aliases):
if Backend.getDbms() is not None:
return Backend.getDbms().lower() in aliases
elif Backend.getIdentifiedDbms() is not None:
return Backend.getIdentifiedDbms().lower() in aliases
else:
return False
return Backend.getDbms() is not None and Backend.getDbms().lower() in aliases
@staticmethod
def isVersion(version):