projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eaf6c1
)
Change viewitems to items
author
Boris Bobrov
<breton@cynicmansion.ru>
Tue, 23 Feb 2016 01:15:06 +0000
(
04:15
+0300)
committer
Boris Bobrov
<breton@cynicmansion.ru>
Tue, 23 Feb 2016 01:15:06 +0000
(
04:15
+0300)
There is no viewitems in python3
mediagoblin/moderation/views.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/moderation/views.py
b/mediagoblin/moderation/views.py
index fdcbf051428fd17bfdf929959beea07c3e066175..ca0e653344039ea4c1d3870d022e5b8331db41c4 100644
(file)
--- a/
mediagoblin/moderation/views.py
+++ b/
mediagoblin/moderation/views.py
@@
-117,7
+117,7
@@
def moderation_reports_panel(request):
closed_settings['current_page'] = form.closed_p.data or 1
filters = [
getattr(Report,key)==val
- for key,val in filters.
view
items()]
+ for key,val in filters.items()]
all_active = Report.query.filter(
Report.resolved==None).filter(