From: Tollef Fog Heen Date: Tue, 17 Sep 2013 12:54:42 +0000 (+0200) Subject: daklib/upload.py: Add package_list method to Source X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f2fbf0782f11eff1fd67e264a2aa82dc82ca089;p=dak daklib/upload.py: Add package_list method to Source Signed-off-by: Tollef Fog Heen --- diff --git a/daklib/upload.py b/daklib/upload.py index cabec151..af6bc85a 100644 --- a/daklib/upload.py +++ b/daklib/upload.py @@ -28,6 +28,7 @@ import re from daklib.gpg import SignedFile from daklib.regexes import * +from daklib.utils import build_package_list class InvalidChangesException(Exception): pass @@ -552,3 +553,11 @@ class Source(object): @type: str """ return self._dsc_file.filename + + @property + def package_list(self): + """Package list + + @type: list + """ + return build_package_list(self.dsc)