X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fupload.py;h=b78d100fe55c5e59d48f03338a9ec11a9a0edff9;hb=c29b2d42946cb1cebc3e6e8ff9fcecb3fe7ef9d1;hp=8b2aabf038212bc6019287e00c8d9c7a6c99783e;hpb=64d9673cf98a8adb330f5de673c471d55999457c;p=dak.git diff --git a/daklib/upload.py b/daklib/upload.py index 8b2aabf0..b78d100f 100644 --- a/daklib/upload.py +++ b/daklib/upload.py @@ -462,9 +462,6 @@ class Binary(object): @type: dict-like """ - def is_debug(self): - return self.section == "debug" - @classmethod def from_file(cls, directory, filename): hashed_file = HashedFile.from_file(directory, filename) @@ -500,13 +497,6 @@ class Binary(object): raise InvalidBinaryException('{0}: Does not match re_file_binary'.format(self.hashed_file.filename)) return match.group('type') - @property - def section(self): - """section name - @type: str - """ - return self.control['Section'].split('/', 1)[-1] - @property def component(self): """component name