remove py2 only code

This commit is contained in:
Kovid Goyal 2021-11-24 09:46:02 +05:30
parent 3805c50be5
commit 6004e588da
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -6,7 +6,7 @@ __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
import os, subprocess, sys
prev_rev, current_rev, flags = [x.decode('utf-8') if isinstance(x, bytes) else x for x in sys.argv[1:]]
prev_rev, current_rev, flags = sys.argv[1:]
def get_branch_name(rev):