projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2104c3e
)
Fix a typo in consolidate_reports migration
author
Jessica Tallon
<tsyesika@tsyesika.se>
Mon, 29 Feb 2016 18:17:42 +0000
(18:17 +0000)
committer
Jessica Tallon
<tsyesika@tsyesika.se>
Mon, 29 Feb 2016 18:17:42 +0000
(18:17 +0000)
mediagoblin/db/migrations.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/db/migrations.py
b/mediagoblin/db/migrations.py
index 78ef4832748788023f423313ff72baa8ffa364f8..257da6eef581fb292cfc19547073047acfae4a94 100644
(file)
--- 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_i
s
is None:
+ if media_report.media_entry_i
d
is None:
continue
# Find Mr. GMR :)