Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: frontend/migrations/062_drone_sets_unique.py

Issue 6246035: Merge remote branch 'cros/upstream' into master (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: frontend/migrations/062_drone_sets_unique.py
diff --git a/frontend/migrations/062_drone_sets_unique.py b/frontend/migrations/062_drone_sets_unique.py
index 3c031c6077e1e9e3942cc7022e5dbf14d05a3606..738a0f041671a3d34abc95220db2a2fbfcf70341 100644
--- a/frontend/migrations/062_drone_sets_unique.py
+++ b/frontend/migrations/062_drone_sets_unique.py
@@ -41,9 +41,9 @@ def migrate_up(manager):
'GROUP BY drone_id HAVING COUNT(*) > 1')
rows = manager.execute(query)
if rows:
- raise Exception('Some drones are associated with more than one drone '
- 'set. Please remove all duplicates before running this '
- 'migration.')
+ raise Exception('Some drones are associated with more than one drone '
+ 'set. Please remove all duplicates before running this '
+ 'migration.')
manager.execute_script(UP_SQL)
if db_utils.check_index_exists(manager, 'afe_drone_sets_drones',

Powered by Google App Engine
This is Rietveld 408576698