Commits

Anonymous committed f49c7c4

Fixed login issue.

Comments (0)

Files changed (1)

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)