From f2b40a4f54472a94c24d450649e0896c1247df7f Mon Sep 17 00:00:00 2001 From: vapao Date: Sun, 19 Jan 2020 01:08:09 +0800 Subject: [PATCH] =?UTF-8?q?F=20=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96github?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E7=89=88=E6=9C=AC=E8=AE=B0=E5=BD=95=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_api/libs/gitlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spug_api/libs/gitlib.py b/spug_api/libs/gitlib.py index b11e659..9fcf309 100644 --- a/spug_api/libs/gitlib.py +++ b/spug_api/libs/gitlib.py @@ -27,7 +27,7 @@ class Git: 'author': ref.tag.tagger.name, 'date': ref.tag.tagged_date, 'message': ref.tag.message.strip() - } + } if ref.tag else {} return branches, tags def _get_repo(self, git_repo, repo_dir):