mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 20:15:44 +00:00
switched to single quotes everywhere
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
print("Checking for unstaged migration files...")
|
||||
print('Checking for unstaged migration files...')
|
||||
|
||||
cmd = ['git', 'ls-files', '--exclude-standard', '--others']
|
||||
|
||||
@ -20,9 +20,9 @@ for line in str(out.decode()).split('\n'):
|
||||
if len(migrations) == 0:
|
||||
sys.exit(0)
|
||||
|
||||
print("There are {n} unstaged migration files:".format(n=len(migrations)))
|
||||
print('There are {n} unstaged migration files:'.format(n=len(migrations)))
|
||||
|
||||
for m in migrations:
|
||||
print(" - {m}".format(m=m))
|
||||
print(' - {m}'.format(m=m))
|
||||
|
||||
sys.exit(len(migrations))
|
||||
|
Reference in New Issue
Block a user