Commits

mdelagra committed 3737343 Merge

merging in pull request

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)