From 418ce843d4d9bf0935b034a02c27e9158d103224 Mon Sep 17 00:00:00 2001 From: Slava Shishkin Date: Sat, 16 Apr 2022 00:04:45 +0300 Subject: update init_git_config --- git-bz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-bz b/git-bz index 44d2203..ee332e1 100755 --- a/git-bz +++ b/git-bz @@ -277,13 +277,13 @@ def commit_is_merge(commit): def init_git_config(): try: - config_options = git.config(r'^bz\.', get_regexp=True) + config_options = git.config(r'^bz\.', get_regexp=True).decode() except CalledProcessError: return for line in config_options.split("\n"): line = line.strip() - m = re.match("bz.(\S+)\s+(.*)", line) + m = re.match(r'bz.(\S+)\s+(.*)', line) name = m.group(1) value = m.group(2) -- cgit