[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] PackageListEntry: Rename package_type to type.



PackageListEntry should be similar to daklib.upload.Binary.
---
 daklib/packagelist.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daklib/packagelist.py b/daklib/packagelist.py
index ddb5c81..1af05b7 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
-- 
1.7.10.4



Reply to: