summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-07-28 11:15:59 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-07-28 11:15:59 +0100
commitd41c1d7973ba242736848d543fef8c8cb0c6e72a (patch)
tree458b91241c8a41f0f2773a3e2cd4c76a2fdec40b
parentf885b4151b1ac25008cd6c201e9a1cc84d334400 (diff)
downloadspec-d41c1d7973ba242736848d543fef8c8cb0c6e72a.tar.gz
migrations: Don't run 'indent' as a migration
-rwxr-xr-xrun-all3
1 files changed, 2 insertions, 1 deletions
diff --git a/run-all b/run-all
index 8df0007..5a817ee 100755
--- a/run-all
+++ b/run-all
@@ -55,7 +55,8 @@ try:
for fname in sorted(os.listdir(migration_dir)):
migration_fpath = os.path.join(migration_dir, fname)
if is_executable(migration_fpath):
- if not os.path.samefile(migration_fpath, __file__):
+ if not os.path.samefile(migration_fpath, __file__) and \
+ fname != 'indent':
migrations_found += 1
sys.stdout.write(migration_fpath + ":\n")
subprocess.check_call(