0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-13 22:13:29 +01:00

Pass an empty list of arguments to tox if no arguments are given

This commit is contained in:
Mark Haines 2015-08-26 13:13:01 +01:00
parent fd246fde89
commit 06094591c5

View file

@ -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)