summaryrefslogtreecommitdiff
path: root/turbo_hipster/task_plugins/real_db_upgrade/handle_results.py
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2015-06-04 14:13:31 +1000
committerJoshua Hesketh <josh@nitrotech.org>2015-06-04 14:13:46 +1000
commita4b178d1f1248b6309c40d72eb6c03d53864377b (patch)
treeef604256eba5ffdd4a8cdc7b929c479582db7dbf /turbo_hipster/task_plugins/real_db_upgrade/handle_results.py
parent5ef62278f3a6ab6ac768d1ae954dc8e9b921a0c8 (diff)
downloadturbo-hipster-a4b178d1f1248b6309c40d72eb6c03d53864377b.tar.gz
Fix hacking and requirements
Change-Id: Ie7a36b0a7957f102b6a1195cdc7c0403cdd9545a
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']))