Skip to content

Commit

Permalink
Fix a bad indentation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed Jan 7, 2016
1 parent 7fb9392 commit 8bbdff4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/plugins/db_manager/db_plugins/vlayers/connector.py
Expand Up @@ -413,15 +413,14 @@ def getSqlDictionary(self):
from .sql_dictionary import getSqlDictionary
sql_dict = getSqlDictionary()

if True:
items = []
for tbl in self.getTables():
items.append(tbl[1]) # table name
items = []
for tbl in self.getTables():
items.append(tbl[1]) # table name

for fld in self.getTableFields((None, tbl[1])):
items.append(fld[1]) # field name

sql_dict["identifier"] = items
sql_dict["identifier"] = items
return sql_dict

def getQueryBuilderDictionary(self):
Expand Down

0 comments on commit 8bbdff4

Please sign in to comment.