X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=inline;f=daklib%2Fqueue.py;h=b3247ee1924c1f8188bfae42105eb77387efb41c;hb=33ea37c1644023626800361a2bf76972c8d9da11;hp=25b407232f602575e9ee9eeb26660b7fea56c653;hpb=3a044cf559c390a0a4dc0658ec565b6a327f136a;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 25b40723..b3247ee1 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -73,7 +73,7 @@ def get_type(f, session): """ # Determine the type if f.has_key("dbtype"): - file_type = file["dbtype"] + file_type = f["dbtype"] elif re_source_ext.match(f["type"]): file_type = "dsc" else: @@ -1000,11 +1000,6 @@ class Upload(object): for field_name in [ "build-depends", "build-depends-indep" ]: field = self.pkg.dsc.get(field_name) if field: - # Check for broken dpkg-dev lossage... - if field.startswith("ARRAY"): - self.rejects.append("%s: invalid %s field produced by a broken version of dpkg-dev (1.10.11)" % \ - (dsc_filename, field_name.title())) - # Have apt try to parse them... try: apt_pkg.ParseSrcDepends(field)