mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 18:44:10 -04:00
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…
Add table
Add a link
Reference in a new issue