diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -792,10 +792,7 @@ class Project(object): | |||
792 | def HasChanges(self): | 792 | def HasChanges(self): |
793 | """Returns true if there are uncommitted changes. | 793 | """Returns true if there are uncommitted changes. |
794 | """ | 794 | """ |
795 | if self.UncommitedFiles(get_all=False): | 795 | return bool(self.UncommitedFiles(get_all=False)) |
796 | return True | ||
797 | else: | ||
798 | return False | ||
799 | 796 | ||
800 | def PrintWorkTreeStatus(self, output_redir=None, quiet=False): | 797 | def PrintWorkTreeStatus(self, output_redir=None, quiet=False): |
801 | """Prints the status of the repository to stdout. | 798 | """Prints the status of the repository to stdout. |