forked from MirrorHub/synapse
Pass an empty list of arguments to tox if no arguments are given
This commit is contained in:
parent
fd246fde89
commit
06094591c5
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
@ -65,6 +65,8 @@ class Tox(Command):
|
||||||
args = self.tox_args
|
args = self.tox_args
|
||||||
if args:
|
if args:
|
||||||
args = shlex.split(self.tox_args)
|
args = shlex.split(self.tox_args)
|
||||||
|
else:
|
||||||
|
args = []
|
||||||
errno = tox.cmdline(args=args)
|
errno = tox.cmdline(args=args)
|
||||||
sys.exit(errno)
|
sys.exit(errno)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue