git-push-review: Handle reviewers with no explicit config
This "or r" was accidentally removed in I5ad5b617.
Change-Id: If4419e204b54e619559ed2a2a25c508fc2367d35
diff --git a/contrib/git-push-review b/contrib/git-push-review
index aeea552..87eaa4c 100755
--- a/contrib/git-push-review
+++ b/contrib/git-push-review
@@ -72,7 +72,8 @@
opts = collections.defaultdict(list)
is_hashtag = lambda x: x.startswith('#')
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))
if args.topic:
opts['topic'].append(args.topic)