From 878ef446a29374159752f078ea4e11956a56d836 Mon Sep 17 00:00:00 2001 From: Raphael Deem Date: Sat, 11 Mar 2017 21:53:50 -0800 Subject: [PATCH] refactor redundant print logic --- setup.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index a96f88b9..594c88b9 100644 --- a/setup.py +++ b/setup.py @@ -53,9 +53,7 @@ except DistutilsPlatformError as exception: ] setup_kwargs['install_requires'] = windows_requirements setup(**setup_kwargs) - # No exceptions occcured - print(u"\n\n\U0001F680 " - "Sanic version {} installation suceeded.\n".format(version)) -else: - print(u"\n\n\U0001F680 " - "Sanic version {} installation suceeded.\n".format(version)) + +# Installation was successful +print(u"\n\n\U0001F680 " + "Sanic version {} installation suceeded.\n".format(version))