mirror of https://github.com/pypa/pip
Pass freeze() kwargs directly
This commit is contained in:
parent
93a51f1de3
commit
e76eadc9d6
|
@ -93,7 +93,7 @@ class FreezeCommand(Command):
|
||||||
issue=9069,
|
issue=9069,
|
||||||
)
|
)
|
||||||
|
|
||||||
freeze_kwargs = dict(
|
for line in freeze(
|
||||||
requirement=options.requirements,
|
requirement=options.requirements,
|
||||||
find_links=options.find_links,
|
find_links=options.find_links,
|
||||||
local_only=options.local,
|
local_only=options.local,
|
||||||
|
@ -102,8 +102,6 @@ class FreezeCommand(Command):
|
||||||
isolated=options.isolated_mode,
|
isolated=options.isolated_mode,
|
||||||
skip=skip,
|
skip=skip,
|
||||||
exclude_editable=options.exclude_editable,
|
exclude_editable=options.exclude_editable,
|
||||||
)
|
):
|
||||||
|
|
||||||
for line in freeze(**freeze_kwargs):
|
|
||||||
sys.stdout.write(line + '\n')
|
sys.stdout.write(line + '\n')
|
||||||
return SUCCESS
|
return SUCCESS
|
||||||
|
|
Loading…
Reference in New Issue