Skip to content

Commit 28fa98f

Browse files
fix flake8 issues
1 parent 46df188 commit 28fa98f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setuptools_scm/hg.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ def _hg_tagdist_normalize_tagcommit(root, tag, dist, node):
2525
def parse(root):
2626
if not has_command('hg'):
2727
return
28-
l = do('hg id -i -t', root).split()
29-
if not l:
28+
identity_data = do('hg id -i -t', root).split()
29+
if not identity_data:
3030
return
31-
node = l.pop(0)
32-
tags = tags_to_versions(l)
31+
node = identity_data.pop(0)
32+
tags = tags_to_versions(identity_data)
3333
# filter tip in degraded mode on old setuptools
3434
tags = [x for x in tags if x != 'tip']
3535
dirty = node[-1] == '+'

0 commit comments

Comments
 (0)