diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-07-28 11:15:59 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-07-28 11:15:59 +0100 |
commit | d41c1d7973ba242736848d543fef8c8cb0c6e72a (patch) | |
tree | 458b91241c8a41f0f2773a3e2cd4c76a2fdec40b | |
parent | f885b4151b1ac25008cd6c201e9a1cc84d334400 (diff) | |
download | spec-d41c1d7973ba242736848d543fef8c8cb0c6e72a.tar.gz |
migrations: Don't run 'indent' as a migration
-rwxr-xr-x | run-all | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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( |