]> git.decadent.org.uk Git - dak.git/commitdiff
daklib.upload.Source: expose Package-List.
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 31 Jul 2014 22:02:19 +0000 (00:02 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 31 Jul 2014 22:02:19 +0000 (00:02 +0200)
daklib/upload.py

index bf470bf3374f72e4d9af78f2d62075db36fd5043..406b1d4069101d63669e1edb903075d24d0b69f1 100644 (file)
@@ -28,6 +28,7 @@ import re
 
 from daklib.gpg import SignedFile
 from daklib.regexes import *
+import daklib.packagelist
 
 class InvalidChangesException(Exception):
     pass
@@ -499,6 +500,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