summaryrefslogtreecommitdiff
path: root/src/virtualenv/config
diff options
context:
space:
mode:
authorBernát Gábor <bgabor8@bloomberg.net>2020-02-11 14:24:28 +0000
committerGitHub <noreply@github.com>2020-02-11 14:24:28 +0000
commitcaff2651ba2ad8482aded42eac23c8fc02d590b6 (patch)
tree36d301338e326ee151dd41d9eacc6323796eb158 /src/virtualenv/config
parentb577bfd31309ef20d3c2ee226f4e4d03f81fd893 (diff)
downloadvirtualenv-caff2651ba2ad8482aded42eac23c8fc02d590b6.tar.gz
add option to view failure stacktraces (#1572)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
Diffstat (limited to 'src/virtualenv/config')
-rw-r--r--src/virtualenv/config/cli/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/virtualenv/config/cli/parser.py b/src/virtualenv/config/cli/parser.py
index 67c63fb..aff7f44 100644
--- a/src/virtualenv/config/cli/parser.py
+++ b/src/virtualenv/config/cli/parser.py
@@ -11,7 +11,7 @@ class VirtualEnvConfigParser(ArgumentParser):
Custom option parser which updates its defaults by checking the configuration files and environmental variables
"""
- def __init__(self, *args, **kwargs):
+ def __init__(self, options=None, *args, **kwargs):
self.file_config = IniConfig()
self.epilog_list = []
kwargs["epilog"] = self.file_config.epilog
@@ -22,7 +22,7 @@ class VirtualEnvConfigParser(ArgumentParser):
self._fixed = set()
self._elements = None
self._verbosity = None
- self._options = None
+ self._options = options
self._interpreter = None
def _fix_defaults(self):