diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-04-26 21:45:45 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-04-26 21:46:10 +0200 |
commit | 1e0544d70dabed4f33e0624cb4a7cde4c8c6b691 (patch) | |
tree | 7e5aad3388bb3ec787c5f1e1eebdfba1dd944967 /storperf/db/configuration_db.py | |
parent | 7617c6f079a2926c5d0640c40801fa5cb14023ee (diff) |
Fix flake8 violations
Change-Id: Idd0f4bec503578c2f2031cbcdee97ea27d22ac14
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'storperf/db/configuration_db.py')
-rw-r--r-- | storperf/db/configuration_db.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/storperf/db/configuration_db.py b/storperf/db/configuration_db.py index 700588d..b12394e 100644 --- a/storperf/db/configuration_db.py +++ b/storperf/db/configuration_db.py @@ -51,9 +51,9 @@ class ConfigurationDB(object): db = sqlite3.connect(ConfigurationDB.db_name) cursor = db.cursor() - cursor.execute( - "delete from configuration where configuration_name=? and key=?", - (configuration_name, key)) + cursor.execute("delete from configuration where " + "configuration_name=? and key=?", + (configuration_name, key)) self.logger.debug("Deleted " + configuration_name + ":" + key) @@ -105,9 +105,9 @@ class ConfigurationDB(object): db = sqlite3.connect(ConfigurationDB.db_name) cursor = db.cursor() - cursor.execute( - "delete from configuration where configuration_name=? and key=?", - (configuration_name, key)) + cursor.execute("delete from configuration where " + "configuration_name=? and key=?", + (configuration_name, key)) cursor.execute( """insert into configuration(configuration_name, key, value) |