Skip to content

Commit

Permalink
List comprehension formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dericke committed Jan 25, 2021
1 parent fe184e8 commit d79100a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/db_manager/dlg_sql_window.py
Expand Up @@ -395,7 +395,10 @@ def executeSqlCompleted(self):
self.viewResult.setModel(model)
self.lblResult.setText(self.tr("{0} rows, {1:.3f} seconds").format(model.affectedRows(), model.secs()))
cols = self.viewResult.model().columnNames()
quotedCols = [self.db.connector.quoteId(col) for col in cols]
quotedCols = [
self.db.connector.quoteId(col)
for col in cols
]

self.setColumnCombos(cols, quotedCols)

Expand Down

0 comments on commit d79100a

Please sign in to comment.