diff src/memory/sqlite.py @ 1019:6a16ec17a458

better PEP-8 compliance
author souliane <souliane@mailoo.org>
date Wed, 07 May 2014 15:44:31 +0200
parents 301b342c697a
children 15f43b54d697
line wrap: on
line diff
--- a/src/memory/sqlite.py	Thu May 08 19:11:47 2014 +0200
+++ b/src/memory/sqlite.py	Wed May 07 15:44:31 2014 +0200
@@ -127,7 +127,6 @@
         for statement in statements:
             interaction.execute(statement)
 
-
     #Profiles
     def _profilesCache(self, profiles_result):
         """Fill the profiles cache
@@ -544,7 +543,7 @@
                 # 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: