]> git.decadent.org.uk Git - dak.git/blobdiff - dak/examine_package.py
call check_deb() with correct arguments
[dak.git] / dak / examine_package.py
index ea865ed839f38e44ee5726351e38fffcf47439d6..402e26cc1328273b4dc4e2a34d305d0efb5166ef 100755 (executable)
@@ -272,7 +272,7 @@ def read_changes_or_dsc (suite, filename):
 
     dsc_file = utils.open_file(filename)
     try:
-        dsc = utils.parse_changes(filename)
+        dsc = utils.parse_changes(filename, dsc_file=1)
     except:
         return formatted_text("can't parse .dsc control info")
     dsc_file.close()
@@ -579,7 +579,7 @@ def main ():
                 elif f.endswith(".deb") or f.endswith(".udeb"):
                     # default to unstable when we don't have a .changes file
                     # perhaps this should be a command line option?
-                    check_deb('unstable', file)
+                    check_deb('unstable', f)
                 elif f.endswith(".dsc"):
                     check_dsc('unstable', f)
                 else: