mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
Catch SeriesNotFoundException and display a friendly error (LP: #963888)
This commit is contained in:
parent
d9bf247dee
commit
42a76abaa7
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -11,6 +11,7 @@ ubuntu-dev-tools (0.140) UNRELEASED; urgency=low
|
||||
(LP: #693217)
|
||||
* requestsync:
|
||||
- New packages from non-free or contrib go into multiverse (LP: #935643)
|
||||
- Catch SeriesNotFoundException and display a friendly error (LP: #963888)
|
||||
|
||||
[ Daniel Hahler ]
|
||||
* ubuntutools/archive.py: use ProxyHandler in _download_file.
|
||||
|
@ -217,6 +217,9 @@ def main():
|
||||
% (srcpkg, release))
|
||||
confirmation_prompt()
|
||||
newsource = True
|
||||
except udtexceptions.SeriesNotFoundException, error:
|
||||
print >> sys.stderr, "E: %s" % error
|
||||
sys.exit(1)
|
||||
|
||||
# Get the requested Debian source package
|
||||
try:
|
||||
@ -226,6 +229,9 @@ def main():
|
||||
except udtexceptions.PackageNotFoundException, error:
|
||||
print >> sys.stderr, "E: %s" % error
|
||||
sys.exit(1)
|
||||
except udtexceptions.SeriesNotFoundException, error:
|
||||
print >> sys.stderr, "E: %s" % error
|
||||
sys.exit(1)
|
||||
|
||||
if ubuntu_component is None:
|
||||
if debian_component == 'main':
|
||||
|
Loading…
x
Reference in New Issue
Block a user