minor enhancement, prefer intersect() each time DBMS values are comfronted

This commit is contained in:
Bernardo Damele 2015-02-21 12:59:27 +00:00
parent 388c0dfd77
commit 8be24d3e9b

View File

@ -2823,7 +2823,7 @@ def getSortedInjectionTests():
retVal = SORT_ORDER.LAST
elif 'details' in test and 'dbms' in test.details:
if test.details.dbms in Backend.getErrorParsedDBMSes():
if intersect(test.details.dbms, Backend.getErrorParsedDBMSes()):
retVal = SORT_ORDER.SECOND
else:
retVal = SORT_ORDER.THIRD