From a4827c0b81c31cbbc087bf2b6154707137900520 Mon Sep 17 00:00:00 2001 From: Jon Stanley Date: Mon, 13 Oct 2008 20:20:35 -0400 Subject: style cleanup --- bugzilla/base.py | 4 ++-- 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 -- cgit