dgetlp: Show error messages instead of having the import errors for recommended packages (Closes: #613101, LP: #693813).

This commit is contained in:
Benjamin Drung 2011-02-12 23:08:15 +01:00
parent 5480d7bcef
commit 8c0e535b29
2 changed files with 9 additions and 4 deletions

6
debian/changelog vendored
View File

@ -1,9 +1,9 @@
ubuntu-dev-tools (0.117) UNRELEASED; urgency=low
* suspicious-source: Show error message instead of having the import error
for recommended packages (Closes: #613101, LP: #693813).
* dgetlp, suspicious-source: Show error messages instead of having the import
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

5
dgetlp
View File

@ -36,7 +36,12 @@ import subprocess
import sys
import urllib2
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>