From 8be24d3e9b699e7d6fdb8c8dc6814bfab4952e37 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 21 Feb 2015 12:59:27 +0000 Subject: [PATCH] minor enhancement, prefer intersect() each time DBMS values are comfronted --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 5b9ea7afd..6d9b7c020 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -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