~edwargix/git.sr.ht

a67f8accece19adfaf6777c09e37df4734f669bb — Drew DeVault 6 years ago 0e776fa
Use Tag, not pygit2.Tag
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/submit.py
M gitsrht/submit.py => gitsrht/submit.py +1 -1
@@ 118,7 118,7 @@ def do_post_update(repo, refs):
            old = git_repo.get(old)
            new = git_repo.get(new)
            update = dict()
            if isinstance(new, pygit2.Tag):
            if isinstance(new, Tag):
                update.update({
                    "annotated_tag": {
                        "name": new.name,