2
0
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:
Matthias Mair
2024-01-07 21:03:14 +01:00
parent a92442e60e
commit f83fedbbb8
181 changed files with 2080 additions and 2080 deletions

View File

@ -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))