aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db
diff options
context:
space:
mode:
authorJessica Tallon <tsyesika@tsyesika.se>2016-02-29 18:17:42 +0000
committerJessica Tallon <tsyesika@tsyesika.se>2016-02-29 18:17:42 +0000
commit4c3a621b6dd58a237e9d2d98b1a1bfee978878b6 (patch)
tree9a7fac9fad94d3e127c11bc11595f0b9c9088c11 /mediagoblin/db
parent2104c3e0f267101da35aa9d507ae6dd3a9b0c5b6 (diff)
downloadmediagoblin-4c3a621b6dd58a237e9d2d98b1a1bfee978878b6.tar.lz
mediagoblin-4c3a621b6dd58a237e9d2d98b1a1bfee978878b6.tar.xz
mediagoblin-4c3a621b6dd58a237e9d2d98b1a1bfee978878b6.zip
Fix a typo in consolidate_reports migration
Diffstat (limited to 'mediagoblin/db')
-rw-r--r--mediagoblin/db/migrations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py
index 78ef4832..257da6ee 100644
--- a/mediagoblin/db/migrations.py
+++ b/mediagoblin/db/migrations.py
@@ -2042,7 +2042,7 @@ def consolidate_reports(db):
# Iterate through the Media Reports and do the save as above.
for media_report in db.execute(media_report_table.select()):
# If the media report is None then it's been deleted nd we should skip
- if media_report.media_entry_is is None:
+ if media_report.media_entry_id is None:
continue
# Find Mr. GMR :)