mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
dgetlp: Show error messages instead of having the import errors for recommended packages (Closes: #613101, LP: #693813).
This commit is contained in:
parent
5480d7bcef
commit
8c0e535b29
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,9 +1,9 @@
|
|||||||
ubuntu-dev-tools (0.117) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.117) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* suspicious-source: Show error message instead of having the import error
|
* dgetlp, suspicious-source: Show error messages instead of having the import
|
||||||
for recommended packages (Closes: #613101, LP: #693813).
|
errors for recommended packages (Closes: #613101, LP: #693813).
|
||||||
|
|
||||||
-- Benjamin Drung <bdrung@debian.org> Sat, 12 Feb 2011 22:35:07 +0100
|
-- Benjamin Drung <bdrung@debian.org> Sat, 12 Feb 2011 23:07:16 +0100
|
||||||
|
|
||||||
ubuntu-dev-tools (0.116) unstable; urgency=low
|
ubuntu-dev-tools (0.116) unstable; urgency=low
|
||||||
|
|
||||||
|
7
dgetlp
7
dgetlp
@ -36,7 +36,12 @@ import subprocess
|
|||||||
import sys
|
import sys
|
||||||
import urllib2
|
import urllib2
|
||||||
|
|
||||||
import GnuPGInterface
|
try:
|
||||||
|
import GnuPGInterface
|
||||||
|
except ImportError:
|
||||||
|
print >> sys.stderr, ("Please install 'python-gnupginterface' in order to "
|
||||||
|
"use this utility.")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
USAGE = u"""Usage: %prog [-d|(-v|-q)] <Launchpad URL>
|
USAGE = u"""Usage: %prog [-d|(-v|-q)] <Launchpad URL>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user