- commit
- 583a242e8a1ce0d063edabc4311ed51540fa3535
- parent
- 5a1f930c7d8396706d267a7ed7b2e5bcddc1b027
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-09-10 10:58
do not print "Generating HTML" when nothing is generated
Diffstat
M | gitolite/stagit.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitolite/stagit.py b/gitolite/stagit.py
@@ -112,6 +112,7 @@ def render_index(): 112 112 113 113 114 114 def render_repo(repo): -1 115 print('Generating HTML for %s…' % repo) 115 116 target_dir = os.path.join(WWW_DIR, repo) 116 117 os.makedirs(target_dir, exist_ok=True) 117 118 subprocess.check_call(['stagit', get_repo_dir(repo)], cwd=target_dir) @@ -140,5 +141,4 @@ if __name__ == '__main__': 140 141 if stale_repos: 141 142 print('Warning: stale files for deleted repos:', ', '.join(stale_repos)) 142 143143 -1 print('Generating HTML …')144 144 render_all()