X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fupload.py;h=ec120a7bdbdd9964d2b3fbfd7304ea567ad4a184;hb=013bd28f8a38603851e2bd01841fb9ee8af28d8b;hp=bf470bf3374f72e4d9af78f2d62075db36fd5043;hpb=9d547d3177e033b89ce2b3b0df5e63ed5771bca8;p=dak.git diff --git a/daklib/upload.py b/daklib/upload.py index bf470bf3..ec120a7b 100644 --- a/daklib/upload.py +++ b/daklib/upload.py @@ -28,6 +28,7 @@ import re from daklib.gpg import SignedFile from daklib.regexes import * +import daklib.packagelist class InvalidChangesException(Exception): pass @@ -273,6 +274,14 @@ class Changes(object): """ return self._signed_file.valid + @property + def signature_timestamp(self): + return self._signed_file.signature_timestamp + + @property + def contents_sha1(self): + return self._signed_file.contents_sha1 + @property def architectures(self): """list of architectures included in the upload @@ -499,6 +508,11 @@ class Source(object): @type: dict-like """ + self.package_list = daklib.packagelist.PackageList(self.dsc) + """Information about packages built by the source. + @type: daklib.packagelist.PackageList + """ + self._files = None @classmethod