mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
requestsync: Fix bug where the variable 'hasLP' is not always set (lp: #607874)
This commit is contained in:
parent
505af8e20c
commit
0cca58d2bb
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -17,8 +17,10 @@ ubuntu-dev-tools (0.101) UNRELEASED; urgency=low
|
||||
[ Michael Bienia ]
|
||||
* Add "import-bug-from-debian" written by James Westby.
|
||||
* Add python-soappy to Recommends.
|
||||
* requestsync: Fix bug where the variable 'hasLP' is not always set
|
||||
(lp: #607874).
|
||||
|
||||
-- Michael Bienia <geser@ubuntu.com> Sun, 11 Jul 2010 20:32:49 +0200
|
||||
-- Michael Bienia <geser@ubuntu.com> Tue, 20 Jul 2010 19:44:18 +0200
|
||||
|
||||
ubuntu-dev-tools (0.100) maverick; urgency=low
|
||||
|
||||
|
@ -81,8 +81,6 @@ if __name__ == '__main__':
|
||||
from ubuntutools.lp.lpapicache import Distribution
|
||||
# See if we have LP credentials and exit if we don't - cannot continue in this case
|
||||
|
||||
hasLP = True
|
||||
|
||||
try:
|
||||
Launchpad.login()
|
||||
except IOError:
|
||||
@ -143,7 +141,7 @@ if __name__ == '__main__':
|
||||
sys.exit(1)
|
||||
|
||||
# Stop if Ubuntu has already the version from Debian or a newer version
|
||||
if (ubuntu_version >= debian_version) and hasLP:
|
||||
if (ubuntu_version >= debian_version) and options.lpapi:
|
||||
# try rmadison
|
||||
import ubuntutools.requestsync.mail
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user