djcev.com

//

Git Repos / blogofile_gitview / commit 0d6a3f5

Commit: 0d6a3f5da198684968a16ebe6232ed2eac07a25c
Parent: 6d00505243712844794f63e28fcf909eb1cd3639
Author: Cameron Vanderzanden, 2021-07-25 08:59
Committer: Cameron Vanderzanden, 2021-07-25 08:59

Commit Message

prev_id referenced before assignment. Doh.

Change List

?File Add Del
M _controllers/gitview.py +1

Diff _controllers/gitview.py

diff --git a/_controllers/gitview.py b/_controllers/gitview.py
index 671d163..cfd378f 100644
--- a/_controllers/gitview.py
+++ b/_controllers/gitview.py
@@ -140,6 +140,7 @@ def write_log(repo, repoinfo):
"patches": patches,
"summary": commit.message.split('\n')[0]
}
+ prev_id = None
for pid in ci['parentids']:
prev_id = pid
break

Return to the top of this page or return to the overview of this repo.