diff options
| author | Anthon van der Neut <anthon@mnt.org> | 2013-08-08 11:32:15 +0200 |
|---|---|---|
| committer | Anthon van der Neut <anthon@mnt.org> | 2013-08-08 11:32:15 +0200 |
| commit | b40d26de449750a30f20ed4732b2809d072fbc3f (patch) | |
| tree | c9de6666b3c24785a99be740d1155ef5234fdde1 | |
| parent | f870acc2f5b38671b97485f1d8ec838427bac747 (diff) | |
| download | tox-b40d26de449750a30f20ed4732b2809d072fbc3f.tar.gz | |
dash_e: fixes #109 and #111
Behaviour of -e has not changed, but can be set by passing True or False
as a parameter multi_dash_e to tox/_config.py: prepare_parse()
This parameter should come from a user specifyable default value
for backwards compatibility. Default should preferable be True after
that is implemented.
_split_env() was factored out of class parseini to enable testing
The issue #111: error on specifying same env twice ("tox -e py27,py27")
fixed. Multiple specifications of the same environment result in
multiple invocation (this could also be selectable in a
configuration file)
| -rw-r--r-- | tox/_config.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tox/_config.py b/tox/_config.py index 6b4862f..8ef5cff 100644 --- a/tox/_config.py +++ b/tox/_config.py @@ -67,13 +67,6 @@ class CountAction(argparse.Action): setattr(namespace, self.dest, 0) def prepare_parse(pkgname): - """setup ArgumentParser - - multi_dash_e: - None -> silently ignore all but last -e pyXY option (old behaviour - False -> take last -e pyXY option, but warn on sys.stdout - True -> concatenate - """ parser = argparse.ArgumentParser(description=__doc__,) #formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.pkgname = pkgname |
