better PEP-8 compliance
This commit is contained in:
parent
ee26391a11
commit
1eeddf5900
1 changed files with 16 additions and 14 deletions
|
|
@ -127,7 +127,6 @@ class SqliteStorage(object):
|
|||
for statement in statements:
|
||||
interaction.execute(statement)
|
||||
|
||||
|
||||
#Profiles
|
||||
def _profilesCache(self, profiles_result):
|
||||
"""Fill the profiles cache
|
||||
|
|
@ -544,7 +543,7 @@ class Updater(object):
|
|||
# Database is not up-to-date, we'll do the update
|
||||
log.info(_("Database schema has changed, local database will be updated"))
|
||||
update_raw = []
|
||||
for version in xrange(local_version+1, CURRENT_DB_VERSION+1):
|
||||
for version in xrange(local_version + 1, CURRENT_DB_VERSION + 1):
|
||||
try:
|
||||
update_data = DATABASE_SCHEMAS[version]
|
||||
except KeyError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue