* pull-lp-source:

- Support -d (LP: #681699)
  - str() exceptions before passing to Logger (LP: #695523)
This commit is contained in:
Stefano Rivera 2010-12-30 17:13:58 +02:00
parent 5553c11ddd
commit 51fe0a4db8
2 changed files with 8 additions and 6 deletions

6
debian/changelog vendored
View File

@ -27,7 +27,9 @@ ubuntu-dev-tools (0.109) UNRELEASED; urgency=low
* edit-patch: Don't let cat error through if debian/source/format doesn't
exist.
* pull-debian-debdiff: Rewrite in Python, and use snapshot.debian.org.
* pull-lp-source: Support -d (LP: #681699)
* pull-lp-source:
- Support -d (LP: #681699)
- str() exceptions before passing to Logger (LP: #695523)
* suspicious-source: Whitelist Python source code.
[ Michael Bienia ]
@ -52,7 +54,7 @@ ubuntu-dev-tools (0.109) UNRELEASED; urgency=low
* add "add-patch" that provides the non-interactive version of
edit-patch
-- Benjamin Drung <bdrung@ubuntu.com> Mon, 27 Dec 2010 22:38:34 +0100
-- Stefano Rivera <stefanor@ubuntu.com> Thu, 30 Dec 2010 17:13:05 +0200
ubuntu-dev-tools (0.108) experimental; urgency=low

View File

@ -71,16 +71,16 @@ def main():
try:
(release, pocket) = split_release_pocket(release)
except PocketDoesNotExistError, error:
Logger.error(error)
except PocketDoesNotExistError, e:
Logger.error(str(e))
sys.exit(1)
try:
spph = Distribution('ubuntu').getArchive().getSourcePackage(package,
release,
pocket)
except (SeriesNotFoundException, PackageNotFoundException), error:
Logger.error(error)
except (SeriesNotFoundException, PackageNotFoundException), e:
Logger.error(str(e))
sys.exit(1)
srcpkg = UbuntuSourcePackage(package, spph.getVersion(),