File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments