summaryrefslogtreecommitdiffstats
path: root/subcmds/stage.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/stage.py')
-rw-r--r--subcmds/stage.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/subcmds/stage.py b/subcmds/stage.py
index 4d54eb19..92a00ea0 100644
--- a/subcmds/stage.py
+++ b/subcmds/stage.py
@@ -17,6 +17,10 @@ import sys
17from color import Coloring 17from color import Coloring
18from command import InteractiveCommand 18from command import InteractiveCommand
19from git_command import GitCommand 19from git_command import GitCommand
20from repo_logging import RepoLogger
21
22
23logger = RepoLogger(__file__)
20 24
21 25
22class _ProjectList(Coloring): 26class _ProjectList(Coloring):
@@ -62,7 +66,7 @@ The '%prog' command stages files to prepare the next commit.
62 if p.IsDirty() 66 if p.IsDirty()
63 ] 67 ]
64 if not all_projects: 68 if not all_projects:
65 print("no projects have uncommitted modifications", file=sys.stderr) 69 logger.error("no projects have uncommitted modifications")
66 return 70 return
67 71
68 out = _ProjectList(self.manifest.manifestProject.config) 72 out = _ProjectList(self.manifest.manifestProject.config)