summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/project.py b/project.py
index 8274f022..cf58a624 100644
--- a/project.py
+++ b/project.py
@@ -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.