From f283cba719e62a58d1b6ccd8c615c301c4921f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthieu=20Berthom=C3=A9?= Date: Sun, 9 Oct 2022 23:53:04 +0200 Subject: [PATCH] =?UTF-8?q?py3=20+=20decode=20utf-8=20in=20git2debcl=20for?= =?UTF-8?q?=20=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/git2debcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/git2debcl b/tools/git2debcl index 8d0423ce..69ed69c8 100755 --- a/tools/git2debcl +++ b/tools/git2debcl @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2016, Antonio SJ Musumeci @@ -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']