From 0f2fbf0782f11eff1fd67e264a2aa82dc82ca089 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Tue, 17 Sep 2013 14:54:42 +0200 Subject: [PATCH] daklib/upload.py: Add package_list method to Source Signed-off-by: Tollef Fog Heen --- daklib/upload.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- 2.39.5