collected from patchwork.
"""
-import collections
+from collections import defaultdict
import concurrent.futures
from itertools import repeat
list of patchwork.Review: reviews received on the patch
"""
pstrm = patchstream.PatchStream.process_text(content, True)
- rtags = collections.defaultdict(set)
+ rtags = defaultdict(set)
for response, people in pstrm.commit.rtags.items():
rtags[response].update(people)
rtags[response].update(people)
# Find the tags that are not in the commit
- new_rtags = collections.defaultdict(set)
+ new_rtags = defaultdict(set)
for tag, people in rtags.items():
for who in people:
is_new = (tag not in base_rtags or
warnings.append("Cannot find patch for commit %d ('%s')" %
(seq + 1, cmt.subject))
-
# Check the names match
commit_for_patch = {}
all_commits = set(series.commits)