refactor redundant print logic

This commit is contained in:
Raphael Deem 2017-03-11 21:53:50 -08:00
parent 668f6477bb
commit 878ef446a2

View File

@ -53,9 +53,7 @@ except DistutilsPlatformError as exception:
] ]
setup_kwargs['install_requires'] = windows_requirements setup_kwargs['install_requires'] = windows_requirements
setup(**setup_kwargs) setup(**setup_kwargs)
# No exceptions occcured
print(u"\n\n\U0001F680 " # Installation was successful
"Sanic version {} installation suceeded.\n".format(version)) print(u"\n\n\U0001F680 "
else:
print(u"\n\n\U0001F680 "
"Sanic version {} installation suceeded.\n".format(version)) "Sanic version {} installation suceeded.\n".format(version))