Browse Source

py3 + decode utf-8 in git2debcl for é

pull/1074/head
Matthieu Berthomé 2 years ago
parent
commit
f283cba719
  1. 4
      tools/git2debcl

4
tools/git2debcl

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright (c) 2016, Antonio SJ Musumeci <trapexit@spawn.link> # Copyright (c) 2016, Antonio SJ Musumeci <trapexit@spawn.link>
@ -19,7 +19,7 @@ import subprocess
import argparse import argparse
def call(args): def call(args):
return subprocess.Popen(args,stdout=subprocess.PIPE).communicate()[0].decode()
return subprocess.Popen(args,stdout=subprocess.PIPE).communicate()[0].decode('utf-8')
def git_tags(): def git_tags():
args = ["git", "tag", '-l'] args = ["git", "tag", '-l']

Loading…
Cancel
Save