Commits

Andrew McHarg  committed f49c7c4

Fixed login issue.

  • Participants
  • Parent commits 63da580

Comments (0)

Files changed (1)

File mercurial_reviewboard/reviewboard.py

             apiver = '1.0'
 
     if apiver == '2.0':
-        return Api20Client(httpclient)
+        cli = Api20Client(httpclient)
+        cli.login(username, password)
+        return cli
     elif apiver == '1.0':
         cli = Api10Client(httpclient)
         cli.login(username, password)