mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 20:20:51 -05:00
Review comments
Use iteritems over item to loop over dict formatting
This commit is contained in:
parent
b4e37c6f50
commit
0e5f479fc0
2 changed files with 6 additions and 5 deletions
|
|
@ -426,7 +426,7 @@ def run(hs):
|
|||
stats["daily_messages"] = yield hs.get_datastore().count_daily_messages()
|
||||
|
||||
r30_results = yield hs.get_datastore().count_r30_users()
|
||||
for name, count in r30_results.items():
|
||||
for name, count in r30_results.iteritems():
|
||||
stats["r30_users_" + name] = count
|
||||
|
||||
daily_sent_messages = yield hs.get_datastore().count_daily_sent_messages()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue