Skip to content

Commit

Permalink
minor code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
gornostal committed Aug 29, 2015
1 parent f33af5e commit 8d8dafa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Modific.py
Expand Up @@ -757,10 +757,9 @@ def tf_status_file(self, file_name):
def status_done(self, result):
filter_status = getattr(self, '{0}_filter_status'.format(self.vcs['name']), None)

results = filter_status(result)
self.results = [item.replace('\r', '') for item in results]
self.results = [item.replace('\r', '') for item in filter_status(result)]

if len(self.results):
if self.results:
self.show_status_list()
else:
sublime.status_message("Nothing to show")
Expand Down

0 comments on commit 8d8dafa

Please sign in to comment.