mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 04:55:44 +00:00
switched to single quotes everywhere
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
print("Checking for uncommitted locale files...")
|
||||
print('Checking for uncommitted locale files...')
|
||||
|
||||
cmd = ['git', 'status']
|
||||
|
||||
@ -19,9 +19,9 @@ for line in str(out.decode()).split('\n'):
|
||||
locales.append(line)
|
||||
|
||||
if len(locales) > 0:
|
||||
print("There are {n} unstaged locale files:".format(n=len(locales)))
|
||||
print('There are {n} unstaged locale files:'.format(n=len(locales)))
|
||||
|
||||
for lang in locales:
|
||||
print(" - {l}".format(l=lang))
|
||||
print(' - {l}'.format(l=lang))
|
||||
|
||||
sys.exit(len(locales))
|
||||
|
Reference in New Issue
Block a user