Index: trunk/tools/subversion/user-management/add-labs-user |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | # for the user. |
33 | 33 | url = urlparse.urlparse(scriptconfig.controllerapiurl) |
34 | 34 | site = mwclient.Site((url.scheme, url.hostname)) |
35 | | - site.login(username, passwd, domain=scriptconfig.domain) |
| 35 | + site.login(options.wikiname, passwd, domain=scriptconfig.domain) |
36 | 36 | |
37 | 37 | if __name__ == "__main__": |
38 | 38 | main() |