mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01: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)
|
(LP: #693217)
|
||||||
* requestsync:
|
* requestsync:
|
||||||
- New packages from non-free or contrib go into multiverse (LP: #935643)
|
- New packages from non-free or contrib go into multiverse (LP: #935643)
|
||||||
|
- Catch SeriesNotFoundException and display a friendly error (LP: #963888)
|
||||||
|
|
||||||
[ Daniel Hahler ]
|
[ Daniel Hahler ]
|
||||||
* ubuntutools/archive.py: use ProxyHandler in _download_file.
|
* ubuntutools/archive.py: use ProxyHandler in _download_file.
|
||||||
|
@ -217,6 +217,9 @@ def main():
|
|||||||
% (srcpkg, release))
|
% (srcpkg, release))
|
||||||
confirmation_prompt()
|
confirmation_prompt()
|
||||||
newsource = True
|
newsource = True
|
||||||
|
except udtexceptions.SeriesNotFoundException, error:
|
||||||
|
print >> sys.stderr, "E: %s" % error
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
# Get the requested Debian source package
|
# Get the requested Debian source package
|
||||||
try:
|
try:
|
||||||
@ -226,6 +229,9 @@ def main():
|
|||||||
except udtexceptions.PackageNotFoundException, error:
|
except udtexceptions.PackageNotFoundException, error:
|
||||||
print >> sys.stderr, "E: %s" % error
|
print >> sys.stderr, "E: %s" % error
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
except udtexceptions.SeriesNotFoundException, error:
|
||||||
|
print >> sys.stderr, "E: %s" % error
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
if ubuntu_component is None:
|
if ubuntu_component is None:
|
||||||
if debian_component == 'main':
|
if debian_component == 'main':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user