]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - check-unused-files.py
- skip dirs
[packages/rpm-build-tools.git] / check-unused-files.py
index 68d19416c1f8e93927093c4405a81ee164d9fd35..6e26ea3b5cc31c74c11d75c5765c097d07d93651 100644 (file)
@@ -53,6 +53,9 @@ def blacklisted(file):
     if file in [ '.', '..', 'CVS', 'TODO']:
         return True
 
+    if os.path.isdir(file):
+        return True
+
     for pat in exclude:
         if fnmatch.fnmatch(file, pat):
             return True
This page took 0.050341 seconds and 4 git commands to generate.