Skip to content

Commit 1dc3c11

Browse files
CosminNechiforulope
authored andcommitted
used double quotes, solved long statement
1 parent 5f07adc commit 1dc3c11

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

raiden/tasks.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ def check_version():
2929
latest_release = parse_version(content['tag_name'])
3030
# comparing it to the user's application
3131
if app_version < latest_release:
32-
click.secho('You\'re running version {}. The latest version is {}'
33-
.format(app_version,
34-
latest_release,
35-
),
36-
fg='red',
37-
)
38-
click.secho('It\'s time to update! Releases: {}'.format(RELEASE_PAGE), fg='red')
32+
msg = "You're running version {}. The latest version is {}".format(
33+
app_version,
34+
latest_release,
35+
)
36+
click.secho(msg, fg='red')
37+
click.secho("It's time to update! Releases: {}".format(RELEASE_PAGE), fg='red')
3938
except requests.exceptions.HTTPError as herr:
4039
click.secho('Error while checking for version', fg='red')
4140
print(herr)

0 commit comments

Comments
 (0)