review: fix for send_message API change

(imported from commit 2a171dc298449e2dacc2f8250e81577741122464)
This commit is contained in:
Zev Benjamin 2012-11-13 16:09:43 -05:00
parent bb534f7a5f
commit 796869863c
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ def main(args):
api_key=file(api_key_file).read().strip(),
verbose=True)
client.send_message({'type': "private",
'recipient': [opts.reviewers],
'recipient': opts.reviewers,
'content': "I just sent you a review request! Check your email for details."})
if os.environ.get('REVIEW_USE_SENDMAIL', ''):