workarround to work with public google account, needs time to refactor and solved correctly

This commit is contained in:
?ngel ?lvarez Serra 2013-09-12 13:02:43 +02:00
parent 870eb7cdff
commit ae9644e123
1 changed files with 3 additions and 1 deletions

View File

@ -179,7 +179,9 @@ def review(ui, repo, *args, **opts):
url = '%s/%s' % (server, issue_id)
msg = 'Looking after issue %s patch' % url
ui.status(msg, '\n')
if not rpc_server.authenticated:
#TODO: change authentication.
if account_type != 'GOOGLE':
rpc_server._Authenticate()
url_opener = rpc_server._GetOpener()