mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-10 00:11:29 +00:00
Move DownloadError into ubuntutools/misc
This commit is contained in:
parent
6e18d60de4
commit
243a728d6c
@ -52,18 +52,17 @@ from ubuntutools.lp.udtexceptions import (PackageNotFoundException,
|
|||||||
SeriesNotFoundException,
|
SeriesNotFoundException,
|
||||||
PocketDoesNotExistError,
|
PocketDoesNotExistError,
|
||||||
InvalidDistroValueError)
|
InvalidDistroValueError)
|
||||||
from ubuntutools.misc import (download, download_text, verify_file_checksum, verify_file_checksums)
|
from ubuntutools.misc import (download,
|
||||||
|
download_text,
|
||||||
|
verify_file_checksum,
|
||||||
|
verify_file_checksums,
|
||||||
|
DownloadError)
|
||||||
from ubuntutools.version import Version
|
from ubuntutools.version import Version
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
Logger = logging.getLogger(__name__)
|
Logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class DownloadError(Exception):
|
|
||||||
"Unable to pull a source package"
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class Dsc(debian.deb822.Dsc):
|
class Dsc(debian.deb822.Dsc):
|
||||||
"Extend deb822's Dsc with checksum verification abilities"
|
"Extend deb822's Dsc with checksum verification abilities"
|
||||||
|
|
||||||
|
@ -52,6 +52,11 @@ UPLOAD_QUEUE_STATUSES = ('New', 'Unapproved', 'Accepted', 'Done', 'Rejected')
|
|||||||
_system_distribution_chain = []
|
_system_distribution_chain = []
|
||||||
|
|
||||||
|
|
||||||
|
class DownloadError(Exception):
|
||||||
|
"Unable to pull a source package"
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def system_distribution_chain():
|
def system_distribution_chain():
|
||||||
""" system_distribution_chain() -> [string]
|
""" system_distribution_chain() -> [string]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user