pep8: Add compliance with rule E261 to summarize_stream.py.
This commit is contained in:
parent
fbcfa6239a
commit
ab3cbd313b
|
@ -55,13 +55,13 @@ def generate_support_stats():
|
||||||
narrow = 'stream:support'
|
narrow = 'stream:support'
|
||||||
count = 2000
|
count = 2000
|
||||||
msgs = get_recent_messages(client, narrow, count)
|
msgs = get_recent_messages(client, narrow, count)
|
||||||
msgs_by_topic = collections.defaultdict(list) # type: Dict[str, List[Dict[str, Any]]]
|
msgs_by_topic = collections.defaultdict(list) # type: Dict[str, List[Dict[str, Any]]]
|
||||||
for msg in msgs:
|
for msg in msgs:
|
||||||
topic = msg['subject']
|
topic = msg['subject']
|
||||||
msgs_by_topic[topic].append(msg)
|
msgs_by_topic[topic].append(msg)
|
||||||
|
|
||||||
word_count = collections.defaultdict(int) # type: Dict[str, int]
|
word_count = collections.defaultdict(int) # type: Dict[str, int]
|
||||||
email_count = collections.defaultdict(int) # type: Dict[str, int]
|
email_count = collections.defaultdict(int) # type: Dict[str, int]
|
||||||
|
|
||||||
if False:
|
if False:
|
||||||
for topic in msgs_by_topic:
|
for topic in msgs_by_topic:
|
||||||
|
|
Loading…
Reference in a new issue