summaryrefslogtreecommitdiff
path: root/turbo_hipster/task_plugins/real_db_upgrade/handle_results.py
diff options
context:
space:
mode:
Diffstat (limited to 'turbo_hipster/task_plugins/real_db_upgrade/handle_results.py')
-rw-r--r--turbo_hipster/task_plugins/real_db_upgrade/handle_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/turbo_hipster/task_plugins/real_db_upgrade/handle_results.py b/turbo_hipster/task_plugins/real_db_upgrade/handle_results.py
index 198afe1..e701c5b 100644
--- a/turbo_hipster/task_plugins/real_db_upgrade/handle_results.py
+++ b/turbo_hipster/task_plugins/real_db_upgrade/handle_results.py
@@ -188,7 +188,7 @@ def check_log_file(log_file, git_path, dataset):
migration.setdefault('stats', {})
# check migration completed
- if not 'duration' in migration:
+ if 'duration' not in migration:
success = False
messages.append('WARNING - Migration %s->%s failed to complete'
% (migration['from'], migration['to']))