]> err.no Git - dak/commitdiff
file -> f
authorMark Hymers <mhy@debian.org>
Tue, 27 Oct 2009 15:35:15 +0000 (15:35 +0000)
committerMark Hymers <mhy@debian.org>
Tue, 27 Oct 2009 15:35:15 +0000 (15:35 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/queue.py

index d70e60b190d35195434ca031e50435f10c8c0ff7..daaa3c6e03936f6364e2cd851602dd946dad2dcd 100755 (executable)
@@ -72,7 +72,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: