diff options
-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 |