mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
remove py2 only code
This commit is contained in:
parent
3805c50be5
commit
6004e588da
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user