aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/git/repository.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r--gbp/git/repository.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index dfc8e556..e21b19ec 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -515,7 +515,7 @@ class GitRepository(object):
if not out: # both branches have the same commits
return True, True
- for line in (l.decode() for l in out):
+ for line in (li.decode() for li in out):
if line.startswith("<"):
has_local = True
elif line.startswith(">"):
@@ -597,7 +597,7 @@ class GitRepository(object):
args.add(commit)
out, ret = self._git_getoutput('branch', args.args)
- for line in [l.decode() for l in out]:
+ for line in [li.decode() for li in out]:
# remove prefix '*' for current branch before comparing
line = line.replace('*', '')
if line.strip() == branch: