]> git.decadent.org.uk Git - dak.git/commitdiff
PackageListEntry: Rename package_type to type.
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 31 Jul 2014 22:00:53 +0000 (00:00 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 31 Jul 2014 22:00:53 +0000 (00:00 +0200)
PackageListEntry should be similar to daklib.upload.Binary.

daklib/packagelist.py

index ddb5c8180275d1daa1882a2f2fb109616a887eeb..1af05b766c9d97d48161a149e8f50e446e7a8093 100644 (file)
@@ -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