diff options
author | Will Woods <wwoods@redhat.com> | 2007-09-14 13:35:43 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2007-09-14 13:35:43 -0400 |
commit | d9be5aa0a1081ef45159964f2538c1b5214b574e (patch) | |
tree | cb4dc96125a5b9d9f22cdd28ab2d0b5e01aaebe5 | |
parent | bc76e72081b246411890381328453b316c651a00 (diff) | |
download | python-bugzilla-d9be5aa0a1081ef45159964f2538c1b5214b574e.tar.gz python-bugzilla-d9be5aa0a1081ef45159964f2538c1b5214b574e.tar.xz python-bugzilla-d9be5aa0a1081ef45159964f2538c1b5214b574e.zip |
make readcookie public
-rw-r--r-- | bugzilla.py | 4 |
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() |