diff options
author | Jon Stanley <jonstanley@gmail.com> | 2008-10-13 20:20:35 -0400 |
---|---|---|
committer | Jon Stanley <jonstanley@gmail.com> | 2008-10-13 20:20:35 -0400 |
commit | a4827c0b81c31cbbc087bf2b6154707137900520 (patch) | |
tree | 1dbb1cf7c1901c9e58d5af058770154b75fae55b /bugzilla | |
parent | d14cf52f7687b7dbb7af3bf4b6c267c3ff5d8f4a (diff) | |
download | python-bugzilla-master.tar.gz python-bugzilla-master.tar.xz python-bugzilla-master.zip |
Diffstat (limited to 'bugzilla')
-rw-r--r-- | bugzilla/base.py | 4 | ||||
-rw-r--r-- | bugzilla/rhbugzilla.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bugzilla/base.py b/bugzilla/base.py index 7ae6086..4069ed9 100644 --- a/bugzilla/base.py +++ b/bugzilla/base.py @@ -680,13 +680,13 @@ class BugzillaBase(object): groups: list of groups to be added to (i.e. ['fedora_contrib']) ''' self._updateperms(user,action,groups) - def adduser(self,email,name): + def adduser(self,user,name): '''A method to create a user in Bugzilla. Takes the following: email: The email address of the user to create name: The full name of the user to create ''' - self._adduser(email,name) + self._adduser(user,name) class CookieResponse: '''Fake HTTPResponse object that we can fill with headers we got elsewhere. diff --git a/bugzilla/rhbugzilla.py b/bugzilla/rhbugzilla.py index 51e9a11..b49f19b 100644 --- a/bugzilla/rhbugzilla.py +++ b/bugzilla/rhbugzilla.py @@ -330,7 +330,7 @@ class RHBugzilla(bugzilla.base.BugzillaBase): def _updateperms(self,user,action,groups): r = self._proxy.bugzilla.updatePerms(user, action, groups, self.user) return r - def _adduser(self,email,name): + def _adduser(self,user,name): r = self._proxy.bugzilla.addUser(user, name, self.user) return r |