Correct indention.
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 22 May 2016 14:04:03 +0000 (16:04 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 22 May 2016 14:04:03 +0000 (16:04 +0200)
scripts/debian/dep11-basic-validate.py

index 03cd80c..e6217b0 100755 (executable)
@@ -169,9 +169,9 @@ def validate_dir(dirname):
     ret = True
     for root, subfolders, files in os.walk(dirname):
         for fname in files:
-             if fname.endswith(".yml.gz") or fname.endswith(".yml.xz"):
-                 if not validate_file(os.path.join(root, fname)):
-                     ret = False
+            if fname.endswith(".yml.gz") or fname.endswith(".yml.xz"):
+                if not validate_file(os.path.join(root, fname)):
+                    ret = False
 
     return ret