my eye

Use non-property log() method on repos

Committed aa176a

--- a/webint_code/templates/project/commit.html
+++ b/webint_code/templates/project/commit.html

 $def with (project, repo, commit_id)
-$ commit = repo.log[commit_id]
+$ commit = repo.log()[commit_id]
 $ title, _, description = commit["message"].partition("\n\n")
 $ ts = commit["timestamp"]
 $ short_hash = commit_id[:6]

--- a/webint_code/templates/project/index.html
+++ b/webint_code/templates/project/index.html

 $# </div>
 
 $if repo.exists():
-    $ commit = list(repo.log.values())[0]
+    $ commit = list(repo.log().values())[0]
     $ author_url = commit["author_email"]
     $if "@" in author_url:
         $ author_url = f"mailto:{author_url}"
     datetime=$commit["timestamp"].isoformat()>\
     $:commit["timestamp"].diff_for_humans().replace(" ", "&nbsp;")</time></a>
     </small></small>
-    <a href=/projects/$project/commits><strong>$len(repo.log)</strong> commits</a>
+    <a href=/projects/$project/commits><strong>$len(repo.log())</strong> commits</a>
     </div>
 
     <div id=files>