From johannes at kyriasis.com Tue Mar 5 15:35:02 2019 From: johannes at kyriasis.com (=?UTF-8?q?Johannes=20L=C3=B6thberg?=) Date: Tue, 5 Mar 2019 16:35:02 +0100 Subject: [PATCH] git/update: Fix exception on encountering non-blob type Message-ID: <20190305153502.5132-1-johannes@kyriasis.com> Signed-off-by: Johannes L?thberg --- aurweb/git/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurweb/git/update.py b/aurweb/git/update.py index 39128f8..5228abc 100755 --- a/aurweb/git/update.py +++ b/aurweb/git/update.py @@ -284,7 +284,7 @@ def main(): str(commit.id)) if not isinstance(blob, pygit2.Blob): - die_commit("not a blob object: {:s}".format(treeobj), + die_commit("not a blob object: {:s}".format(str(treeobj.id)), str(commit.id)) if blob.size > max_blob_size: -- 2.20.1