Skip to content

Commit

Permalink
py3 & decode utf-8 in git2debcl for é
Browse files Browse the repository at this point in the history
  • Loading branch information
rienafairefr committed Oct 10, 2022
1 parent ece486d commit 694b819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/git2debcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# Copyright (c) 2016, Antonio SJ Musumeci <trapexit@spawn.link>

Expand All @@ -19,7 +19,7 @@ import subprocess
import argparse

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():
args = ["git", "tag", '-l']
Expand Down

0 comments on commit 694b819

Please sign in to comment.