summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index ee332e1..9876ea5 100755
--- a/git-bz
+++ b/git-bz
@@ -348,14 +348,14 @@ def split_local_config(config_text):
def get_git_config(name):
try:
name = name.replace(".", r"\.")
- config_options = git.config(r'bz-tracker\.' + name + r'\..*', get_regexp=True)
+ config_options = git.config(r'bz-tracker\.' + name + r'\..*', get_regexp=True).decode()
except CalledProcessError:
return {}
result = {}
for line in config_options.split("\n"):
line = line.strip()
- m = re.match("(\S+)\s+(.*)", line)
+ m = re.match(r'(\S+)\s+(.*)', line)
key = m.group(1)
value = m.group(2)