From: Ansgar Burchardt Date: Thu, 31 Jul 2014 22:00:53 +0000 (+0200) Subject: PackageListEntry: Rename package_type to type. X-Git-Url: https://git.donarmstrong.com/?p=dak.git;a=commitdiff_plain;h=0456a0b110f1576871910833a409dc51b21aa885 PackageListEntry: Rename package_type to type. PackageListEntry should be similar to daklib.upload.Binary. --- diff --git a/daklib/packagelist.py b/daklib/packagelist.py index ddb5c818..1af05b76 100644 --- a/daklib/packagelist.py +++ b/daklib/packagelist.py @@ -27,7 +27,7 @@ class InvalidSource(Exception): class PackageListEntry(object): def __init__(self, name, package_type, section, component, priority, **other): self.name = name - self.package_type = package_type + self.type = package_type self.section = section self.component = component self.priority = priority