From d9be5aa0a1081ef45159964f2538c1b5214b574e Mon Sep 17 00:00:00 2001 From: Will Woods Date: Fri, 14 Sep 2007 13:35:43 -0400 Subject: make readcookie public --- bugzilla.py | 4 ++-- 1 file 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() -- cgit