]> err.no Git - dak/commitdiff
queue: Fix typo
authorFrank Lichtenheld <djpig@debian.org>
Mon, 26 Oct 2009 19:42:33 +0000 (19:42 +0000)
committerFrank Lichtenheld <djpig@debian.org>
Mon, 26 Oct 2009 19:42:33 +0000 (19:42 +0000)
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
daklib/queue.py

index a17ded06d5f481ef7f28bb32a932a59f66a6f98f..5d5f14c1bbc7f2ddc65e12c039f42b1cec5a667f 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 f["type"] in [ "orig.tar.gz", "orig.tar.bz2", "tar.gz", "tar.bz2", "diff.gz", "diff.bz2", "dsc" ]:
         file_type = "dsc"
     else: