]> git.ipfire.org Git - pbs.git/commitdiff
Fix typo in variable name
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Oct 2017 17:46:00 +0000 (17:46 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Oct 2017 17:46:00 +0000 (17:46 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/buildservice/__init__.py

index a9ee56e7fa8b759283d8f9b9448f7084503fb7aa..63c50d6fb61d3c86d62c4988f015adfd89444027 100644 (file)
@@ -140,7 +140,7 @@ class Backend(object):
                for row in query:
                        path = row.path
 
-                       if not path or not paths.startswith("%s/" % PAKFIRE_DIR):
+                       if not path or not path.startswith("%s/" % PAKFIRE_DIR):
                                log.warning("Cannot delete file outside of the tree")
                                continue