Remove dead code in pyproject_requirements_txt.py
This removes some code from pyproject_requirements_txt.py that serves no purpose (assigns to a variable that is never used).
This commit is contained in:
parent
f21e684a67
commit
25a125d3ac
@ -98,6 +98,4 @@ def expand_env_vars(lines):
|
|||||||
return match['var']
|
return match['var']
|
||||||
return value
|
return value
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if match := ENV_VAR_RE.search(line):
|
|
||||||
var = match['var']
|
|
||||||
yield ENV_VAR_RE.sub(repl, line)
|
yield ENV_VAR_RE.sub(repl, line)
|
||||||
|
Loading…
Reference in New Issue
Block a user