[master] Fixing formatting error in print messages.

This commit is contained in:
Joseph Nix 2018-01-30 12:15:17 -06:00
parent e30398740b
commit 894b2471c3
1 changed files with 8 additions and 8 deletions

View File

@ -78,7 +78,7 @@ if 1:
if user_input in ('', 'y'): if user_input in ('', 'y'):
break break
elif user_input == 'n': elif user_input == 'n':
print() print('')
print('Aborted!') print('Aborted!')
sys.exit() sys.exit()
@ -102,10 +102,10 @@ if 1:
print(' %s' % lib_dir) print(' %s' % lib_dir)
print(' and remove this symlink:') print(' and remove this symlink:')
print(' %s' % symlink_path) print(' %s' % symlink_path)
print() print('')
if prompt: if prompt:
get_confirmation() get_confirmation()
print() print('')
wipe_installation(lib_dir, symlink_path) wipe_installation(lib_dir, symlink_path)
def fail(message): def fail(message):
@ -128,11 +128,11 @@ if 1:
os.path.join(bin_dir, 'lektor')) os.path.join(bin_dir, 'lektor'))
def main(): def main():
print() print('')
print('Welcome to Lektor') print('Welcome to Lektor')
print() print('')
print('This script will install Lektor on your computer.') print('This script will install Lektor on your computer.')
print() print('')
paths = find_user_paths() paths = find_user_paths()
if not paths: if not paths:
@ -148,7 +148,7 @@ if 1:
print('Installing at:') print('Installing at:')
print(' bin: %s' % bin_dir) print(' bin: %s' % bin_dir)
print(' app: %s' % lib_dir) print(' app: %s' % lib_dir)
print() print('')
if prompt: get_confirmation() if prompt: get_confirmation()
@ -161,7 +161,7 @@ if 1:
install(virtualenv, lib_dir, bin_dir) install(virtualenv, lib_dir, bin_dir)
print() print('')
print('All done!') print('All done!')
main() main()