-
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py3 & decode utf-8 in git2debcl for é
- Loading branch information
Matthieu Berthomé
committed
Oct 10, 2022
1 parent
ece486d
commit f90ab5f
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]> | ||
|
||
|
@@ -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'] | ||
|