More drei stuff

This commit is contained in:
Miroslav Stampar
2019-05-02 10:22:44 +02:00
parent d465007dfe
commit 6dbf24531c
8 changed files with 15 additions and 15 deletions

View File

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