Dropping trailing whitespaces

This commit is contained in:
David
2014-08-06 12:46:26 +02:00
parent 78c866ce59
commit 0c61eb11f5
91 changed files with 3139 additions and 3139 deletions
+3 -3
View File
@@ -147,7 +147,7 @@ def transform_value(value):
return float(value)
except ValueError:
pass
return value
def transform_data(data):
@@ -209,7 +209,7 @@ def transform_data(data):
if section == 'importfeeds':
if key.startswith(IMPORTFEEDS_PREFIX):
key = key[len(IMPORTFEEDS_PREFIX):]
sec_out[key] = transform_value(value)
return out
@@ -313,7 +313,7 @@ def migrate_db(replace=False):
# Old DB does not exist or we're configured to point to the same
# database. Do nothing.
return
if os.path.exists(destfn):
if replace:
log.debug(u'moving old database aside: {0}'.format(