Commit cdb2c621 by Sébastien Eustace

Display the virtualenv being used if in verbose mode

parent 6acf894c
...@@ -54,7 +54,7 @@ class Application(BaseApplication): ...@@ -54,7 +54,7 @@ class Application(BaseApplication):
] ]
def do_run(self, i, o) -> int: def do_run(self, i, o) -> int:
if self._venv.is_venv() and o.is_debug(): if self._venv.is_venv() and o.is_verbose():
o.writeln(f'Using virtualenv: <comment>{self._venv.venv}</>') o.writeln(f'Using virtualenv: <comment>{self._venv.venv}</>')
return super().do_run(i, o) return super().do_run(i, o)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment