git-push-review: Handle reviewers with no explicit config
This "or r" was accidentally removed in I5ad5b617. Change-Id: If4419e204b54e619559ed2a2a25c508fc2367d35
This commit is contained in:
@@ -72,7 +72,8 @@ def main(argv):
|
|||||||
opts = collections.defaultdict(list)
|
opts = collections.defaultdict(list)
|
||||||
is_hashtag = lambda x: x.startswith('#')
|
is_hashtag = lambda x: x.startswith('#')
|
||||||
opts['r'].extend(
|
opts['r'].extend(
|
||||||
get_config('reviewer.' + r) for r in args.args if not is_hashtag(r))
|
(get_config('reviewer.' + r) or r)
|
||||||
|
for r in args.args if not is_hashtag(r))
|
||||||
opts['t'].extend(t[1:] for t in args.args if is_hashtag(t))
|
opts['t'].extend(t[1:] for t in args.args if is_hashtag(t))
|
||||||
if args.topic:
|
if args.topic:
|
||||||
opts['topic'].append(args.topic)
|
opts['topic'].append(args.topic)
|
||||||
|
Reference in New Issue
Block a user