summaryrefslogtreecommitdiffstats
path: root/bugzilla/rhbugzilla.py
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2008-08-05 16:11:24 -0400
committerWill Woods <wwoods@redhat.com>2008-08-05 16:11:24 -0400
commit02454166d136f69ec859660dcea040acaee850cd (patch)
tree83d98f4497e9c1eef20ba0b11bb71d4332d2fe34 /bugzilla/rhbugzilla.py
parent9434dd7a60859bc8b1f72fe28d8733bd0556c385 (diff)
downloadpython-bugzilla-02454166d136f69ec859660dcea040acaee850cd.tar.gz
python-bugzilla-02454166d136f69ec859660dcea040acaee850cd.tar.xz
python-bugzilla-02454166d136f69ec859660dcea040acaee850cd.zip
Add disconnect() and logout() methods
Diffstat (limited to 'bugzilla/rhbugzilla.py')
-rw-r--r--bugzilla/rhbugzilla.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bugzilla/rhbugzilla.py b/bugzilla/rhbugzilla.py
index a069a2b..09b09a4 100644
--- a/bugzilla/rhbugzilla.py
+++ b/bugzilla/rhbugzilla.py
@@ -25,6 +25,13 @@ class RHBugzilla(bugzilla.base.BugzillaBase):
'''Backend login method for RHBugzilla.'''
return self._proxy.bugzilla.login(user,password)
+ def _logout(self):
+ '''Backend logout method for RHBugzilla.'''
+ # "Logouts are not implemented due to the non-session nature of
+ # XML-RPC communication."
+ # That's funny, since we get a (session-based) login cookie...
+ return True
+
#---- Methods and properties with basic bugzilla info
# Connect the backend methods to the XMLRPC methods