uncomment run return

This commit is contained in:
Daylin Morgan 2022-12-19 23:25:12 -06:00
parent 5034768684
commit 8e4cb1d3b2

View file

@ -251,8 +251,8 @@ def run(
elif check_output: elif check_output:
return p.stdout return p.stdout
# else: else:
# return "" return ""
def get_hash(package_spec: Tuple[str, ...] | List[str], track_exe: bool) -> str: def get_hash(package_spec: Tuple[str, ...] | List[str], track_exe: bool) -> str:
@ -421,7 +421,7 @@ def generate_import(
if reqs: if reqs:
cmd += reqs cmd += reqs
run(cmd, spinmsg="resolving dependencies", clean_up_path=vivenv.path) run(cmd, spinmsg="resolving dependencies", clean_up_path=vivenv.path)
# generate a frozen environment # generate a frozen environment
cmd = [vivenv.path / "bin" / "pip", "freeze"] cmd = [vivenv.path / "bin" / "pip", "freeze"]