Minor improvement

This commit is contained in:
Miroslav Stampar
2017-06-05 16:48:14 +02:00
parent 996ad59126
commit 864711b434
5 changed files with 9 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ def setHandler():
(DBMS.INFORMIX, INFORMIX_ALIASES, InformixMap, InformixConn),
]
_ = max(_ if (Backend.getIdentifiedDbms() or "").lower() in _[1] else None for _ in items)
_ = max(_ if (Backend.getIdentifiedDbms() or kb.heuristicExtendedDbms or "").lower() in _[1] else None for _ in items)
if _:
items.remove(_)
items.insert(0, _)