summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project.py b/project.py
index 2ba2b766..7d6b6cea 100644
--- a/project.py
+++ b/project.py
@@ -1813,11 +1813,11 @@ class Project:
1813 ) 1813 )
1814 else: 1814 else:
1815 msg = ( 1815 msg = (
1816 "error: %s: Cannot remove project: uncommitted" 1816 "error: %s: Cannot remove project: uncommitted "
1817 "changes are present.\n" % self.RelPath(local=False) 1817 "changes are present.\n" % self.RelPath(local=False)
1818 ) 1818 )
1819 logger.error(msg) 1819 logger.error(msg)
1820 raise DeleteDirtyWorktreeError(msg, project=self) 1820 raise DeleteDirtyWorktreeError(msg, project=self.name)
1821 1821
1822 if verbose: 1822 if verbose:
1823 print(f"{self.RelPath(local=False)}: Deleting obsolete checkout.") 1823 print(f"{self.RelPath(local=False)}: Deleting obsolete checkout.")