Bug in launchpad plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
John A Meinel |
Bug Description
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I just tried to use 'bzr register-branch' and it seems one of the recent
updates broke the plugin.
Specifically, the code is doing this:
def gather_
"""Get the password from the user."""
config = config.
if self.registrant
auth = config.
scheme, hostinfo = urlsplit(
prompt = 'launchpad.net password for %s: ' % \
# We will reuse http[s] credentials if we can, prompt user
# otherwise
However, that 'config = ...' is forcing a local variable named 'config' to
exist. Which hides the global variable 'config' which is the config.py module.
Annotate blames Vincent's recent AuthenticationC
is to just use
the_config = config.
self.registrant
I'm a little curious how this slipped through. Is 'gather_
not tested?
affects bzr
importance medium
status triaged
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFHOgcWJde
oFD5FfLuUCq+
=LWtq
-----END PGP SIGNATURE-----
Related branches
Changed in bzr: | |
assignee: | nobody → jameinel |
status: | Triaged → Fix Committed |
Changed in bzr: | |
milestone: | none → 1.0rc1 |
status: | Fix Committed → Fix Released |