]> err.no Git - dak/commitdiff
[AJ, r=JT] fix slice for raw- check
authorJames Troup <james@nocrew.org>
Wed, 6 Feb 2008 21:58:54 +0000 (21:58 +0000)
committerJames Troup <james@nocrew.org>
Wed, 6 Feb 2008 21:58:54 +0000 (21:58 +0000)
dak/process_unchecked.py

index e4f055dee9238405be1bb4dfabd4130a920c248f..4a4cfd6b341d35f1f4e07e4425d2d30349eb9aeb 100755 (executable)
@@ -405,7 +405,7 @@ def check_files():
             files[file]["type"] = "unreadable"
             continue
         # If it's byhand skip remaining checks
-        if files[file]["section"] == "byhand" or files[file]["section"][4:] == "raw-":
+        if files[file]["section"] == "byhand" or files[file]["section"][:4] == "raw-":
             files[file]["byhand"] = 1
             files[file]["type"] = "byhand"
         # Checks for a binary package...