comparison test/test_dropbear.py @ 1864:49ce974c3215

Remove extraneous print
author Matt Johnston <matt@ucc.asn.au>
date Sun, 30 Jan 2022 13:46:20 +0800
parents b550845e500b
children 0dcc5b0d93fa
comparison
equal deleted inserted replaced
1863:b550845e500b 1864:49ce974c3215
60 def own_venv_command(): 60 def own_venv_command():
61 """ Returns a command to run as a prefix to get the same venv 61 """ Returns a command to run as a prefix to get the same venv
62 as the current running Python. Returns '' on not a virtualenv 62 as the current running Python. Returns '' on not a virtualenv
63 """ 63 """
64 try: 64 try:
65 print(os.environ)
66 venv = os.environ['VIRTUAL_ENV'] 65 venv = os.environ['VIRTUAL_ENV']
67 print(venv)
68 except KeyError: 66 except KeyError:
69 return "" 67 return ""
70 68
71 # note: bash/zsh unix specific 69 # note: bash/zsh unix specific
72 return f"source {venv}/bin/activate" 70 return f"source {venv}/bin/activate"