import-bug-from-debian: 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:13:44 +01:00
parent 8c0e535b29
commit bae108a7ae
2 changed files with 10 additions and 4 deletions

7
debian/changelog vendored
View File

@ -1,9 +1,10 @@
ubuntu-dev-tools (0.117) UNRELEASED; urgency=low ubuntu-dev-tools (0.117) UNRELEASED; urgency=low
* dgetlp, suspicious-source: Show error messages instead of having the import * dgetlp, import-bug-from-debian, suspicious-source:
errors for recommended packages (Closes: #613101, LP: #693813). 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 23:07:16 +0100 -- Benjamin Drung <bdrung@debian.org> Sat, 12 Feb 2011 23:12:22 +0100
ubuntu-dev-tools (0.116) unstable; urgency=low ubuntu-dev-tools (0.116) unstable; urgency=low

View File

@ -27,7 +27,12 @@ import re
import sys import sys
import subprocess import subprocess
import SOAPpy try:
import SOAPpy
except ImportError:
print >> sys.stderr, ("Please install 'python-soappy' in order to use "
"this utility.")
sys.exit(1)
from ubuntutools.config import UDTConfig from ubuntutools.config import UDTConfig
from ubuntutools.lp.libsupport import get_launchpad from ubuntutools.lp.libsupport import get_launchpad