summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2021-12-24 21:50:54 -0700
committerJordan <me@jordan.im>2021-12-24 21:50:54 -0700
commitf5d402fdc34f8a6a06a7100aa3260e0193e5e49d (patch)
tree123019684100267942d001465715819eb2cf8a21
parentd01aa921c9115ebe10e6cd1ce76ef1a4f3aeacca (diff)
downloaddotfiles-f5d402fdc34f8a6a06a7100aa3260e0193e5e49d.tar.gz
dotfiles-f5d402fdc34f8a6a06a7100aa3260e0193e5e49d.zip
cgit-last-modified.py: print() -> sys.stderr.write() exceptions
-rwxr-xr-xscripts/cgit-last-modified.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cgit-last-modified.py b/scripts/cgit-last-modified.py
index 5c95a9e..46d7720 100755
--- a/scripts/cgit-last-modified.py
+++ b/scripts/cgit-last-modified.py
@@ -19,7 +19,7 @@ for x in os.listdir(REPOS):
md = repo.head.commit.committed_datetime
md = md.astimezone(timezone.utc).strftime("%Y-%m-%d %H:%M:%S")
except Exception as e:
- print(e)
+ sys.stderr.write(e)
continue
d = os.path.join(REPOS, x, "info/web/")