mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +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,
|
||||
PocketDoesNotExistError,
|
||||
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
|
||||
|
||||
import logging
|
||||
Logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class DownloadError(Exception):
|
||||
"Unable to pull a source package"
|
||||
pass
|
||||
|
||||
|
||||
class Dsc(debian.deb822.Dsc):
|
||||
"Extend deb822's Dsc with checksum verification abilities"
|
||||
|
||||
|
@ -52,6 +52,11 @@ UPLOAD_QUEUE_STATUSES = ('New', 'Unapproved', 'Accepted', 'Done', 'Rejected')
|
||||
_system_distribution_chain = []
|
||||
|
||||
|
||||
class DownloadError(Exception):
|
||||
"Unable to pull a source package"
|
||||
pass
|
||||
|
||||
|
||||
def system_distribution_chain():
|
||||
""" system_distribution_chain() -> [string]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user