diff options
Diffstat (limited to 'subcmds/stage.py')
| -rw-r--r-- | subcmds/stage.py | 6 |
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 | |||
| 17 | from color import Coloring | 17 | from color import Coloring |
| 18 | from command import InteractiveCommand | 18 | from command import InteractiveCommand |
| 19 | from git_command import GitCommand | 19 | from git_command import GitCommand |
| 20 | from repo_logging import RepoLogger | ||
| 21 | |||
| 22 | |||
| 23 | logger = RepoLogger(__file__) | ||
| 20 | 24 | ||
| 21 | 25 | ||
| 22 | class _ProjectList(Coloring): | 26 | class _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) |
