Module upload
source code
module to handle uploads not yet installed to the archive
This module provides classes to handle uploads not yet installed to
the archive. Central is the Changes class which represents a changes file. It
provides methods to access the included binary and source packages.
dict
|
parse_file_list(control,
has_priority_and_section,
safe_file_regexp=re_file_safe,
fields=('Files','Checksums-Sha1','Checksums-Sha256'))
Parse Files and Checksums-* fields |
source code
|
|
Imports:
apt_inst,
apt_pkg,
errno,
functools,
os,
AptVersion,
SignedFile,
daklib
parse_file_list(control,
has_priority_and_section,
safe_file_regexp=re_file_safe,
fields=('Files','Checksums-Sha1','Checksums-Sha256'))
| source code
|
Parse Files and Checksums-* fields
- Parameters:
control (dict-like) - control file to take fields from
has_priority_and_section (bool) - Files field include section and priority (as in .changes)
- Returns: dict
- dict mapping filenames to daklib.upload.HashedFile objects
- Raises:
|