[upload.py] Combined a couple of print statements
Just a minor UX issue; the first print statement was actually inaccurate when using --force.
This commit is contained in:
parent
bb0fef0f84
commit
46602cdcfe
@ -43,15 +43,15 @@ if len(sys.argv) < 4:
|
||||
wiki = sys.argv[1]
|
||||
|
||||
# First, create a build
|
||||
print 'Building afch-rewrite using `grunt build`...'
|
||||
command = 'grunt build'
|
||||
|
||||
# Should we use --force on grunt build?
|
||||
if '--force' in sys.argv:
|
||||
print 'Forcing grunt build with --force...'
|
||||
command += ' --force'
|
||||
sys.argv.remove('--force')
|
||||
|
||||
print 'Building afch-rewrite using `{}`...'.format(command)
|
||||
|
||||
try:
|
||||
process = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
|
||||
output = process.communicate()[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user