[python-bugzilla] [PATCH] bugzilla: honor --cookiefile early so "login" follows it

Cole Robinson crobinso at redhat.com
Sat Apr 20 20:03:53 UTC 2013


On 04/19/2013 11:01 AM, Don Zickus wrote:
> On Thu, Apr 18, 2013 at 08:43:40PM +0200, Jan Pokorný wrote:
>> So far, ~/.bugzillacookies was a cookie holder regardless of what
>> cookiefile was specified together with "login" command.
> 
> This python seems to clever for some of us part-time python programmers.
> Could we simplify it a little bit with something like the attached patch?
> 
> I assume all you want to be able to do is correctly choose a different
> cookiefile using --cookiefile, right?
> 
> Cheers,
> Don
> 

Agreed, the original patch was too magical. Everything below looks fine,
please push, or submit as a git formatted patch. Though before either, run
python setup.py pylint first since there's at least one small style violation
in there.

Thanks,
Cole


More information about the python-bugzilla mailing list