Make pre a kwarg

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-10-11 11:55:11 -04:00
parent 91d8d7e494
commit 485da19d7c
+1 -1
View File
@@ -308,7 +308,7 @@ def lock(
ensure_project(three=state.three, python=state.python, pypi_mirror=state.pypi_mirror)
if state.installstate.requirementstxt:
do_init(dev=state.installstate.dev, requirements=state.installstate.requirementstxt,
pypi_mirror=state.pypi_mirror, state.installstate.pre)
pypi_mirror=state.pypi_mirror, pre=state.installstate.pre)
do_lock(
clear=state.clear,
pre=state.installstate.pre,