Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18f4a91

Browse files
committed
Minor fix
1 parent d019f75 commit 18f4a91

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

plugins/generic/databases.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,6 @@ def getColumns(self, onlyColNames=False, colTuple=None, bruteForce=None):
504504

505505
condQueryStr = "%%s%s" % colCondParam
506506
condQuery = " AND (%s)" % " OR ".join(condQueryStr % (condition, unsafeSQLIdentificatorNaming(col)) for col in sorted(colList))
507-
else:
508-
infoMsg += "'%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
509507

510508
infoMsg += "for table '%s' " % unsafeSQLIdentificatorNaming(tbl)
511509
infoMsg += "in database '%s'" % unsafeSQLIdentificatorNaming(conf.db)
@@ -572,8 +570,6 @@ def getColumns(self, onlyColNames=False, colTuple=None, bruteForce=None):
572570

573571
condQueryStr = "%%s%s" % colCondParam
574572
condQuery = " AND (%s)" % " OR ".join(condQueryStr % (condition, unsafeSQLIdentificatorNaming(col)) for col in sorted(colList))
575-
else:
576-
infoMsg += "'%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
577573

578574
infoMsg += "for table '%s' " % unsafeSQLIdentificatorNaming(tbl)
579575
infoMsg += "in database '%s'" % unsafeSQLIdentificatorNaming(conf.db)

0 commit comments

Comments
 (0)