Fix unnecessary whitespace in warning

Regression introduced by 3b28597 ("flake8 fixes").

Fixes https://github.com/sugarlabs/sugar-toolkit-gtk3/issues/424
This commit is contained in:
James Cameron 2019-08-28 17:28:37 +10:00
parent 381c9b1b61
commit 90c2539135

View File

@ -135,8 +135,8 @@ def main():
command = bundle.get_command() command = bundle.get_command()
if command.startswith('sugar-activity'): if command.startswith('sugar-activity'):
if not command.startswith('sugar-activity3'): if not command.startswith('sugar-activity3'):
logging.warning("Activity written for Python 2,\ logging.warning("Activity written for Python 2,"
consider porting to Python 3.") " consider porting to Python 3.")
activity_class = command.split(" ")[1] activity_class = command.split(" ")[1]
# when an activity is started outside sugar, # when an activity is started outside sugar,