djcev.com

//

Git Repos / blogofile_gitview / commit 0d6a3f5

Last commit to this repo was on 2022-01-23 at 14:14.

Commit: 0d6a3f5da198684968a16ebe6232ed2eac07a25c
Parent: 6d00505243712844794f63e28fcf909eb1cd3639
Author: Cameron Vanderzanden <cvanderz@gmail.com>, 2021-07-25 08:59
Committer: Cameron Vanderzanden <cvanderz@gmail.com>, 2021-07-25 08:59

Commit Message

prev_id referenced before assignment. Doh.

Change List & Diffs

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

_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 top of this page or return to the overview of this repository