X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fupload.py;h=b78d100fe55c5e59d48f03338a9ec11a9a0edff9;hb=283a1be8a19c9f89987dd96ec6247217973ac5a7;hp=8b2aabf038212bc6019287e00c8d9c7a6c99783e;hpb=9a095db72da5d19d08d8787af1f692cdd552b940;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