summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2007-09-14 13:35:43 -0400
committerWill Woods <wwoods@redhat.com>2007-09-14 13:35:43 -0400
commitd9be5aa0a1081ef45159964f2538c1b5214b574e (patch)
treecb4dc96125a5b9d9f22cdd28ab2d0b5e01aaebe5
parentbc76e72081b246411890381328453b316c651a00 (diff)
downloadpython-bugzilla-d9be5aa0a1081ef45159964f2538c1b5214b574e.tar.gz
python-bugzilla-d9be5aa0a1081ef45159964f2538c1b5214b574e.tar.xz
python-bugzilla-d9be5aa0a1081ef45159964f2538c1b5214b574e.zip
make readcookie public
-rw-r--r--bugzilla.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bugzilla.py b/bugzilla.py
index 6b5cd99..916b44b 100644
--- a/bugzilla.py
+++ b/bugzilla.py
@@ -50,7 +50,7 @@ class Bugzilla(object):
self._products = None
self._components = dict()
if 'cookies' in kwargs:
- self.__readcookiefile(kwargs['cookies'])
+ self.readcookiefile(kwargs['cookies'])
if 'url' in kwargs:
self.connect(kwargs['url'])
if 'user' in kwargs:
@@ -60,7 +60,7 @@ class Bugzilla(object):
#---- Methods for establishing bugzilla connection and logging in
- def __readcookiefile(self,cookiefile):
+ def readcookiefile(self,cookiefile):
'''Read the given (Mozilla-style) cookie file and fill in the cookiejar,
allowing us to use the user's saved credentials to access bugzilla.'''
cj = cookielib.MozillaCookieJar()