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
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ class Tox(Command):
args = self.tox_args
if args:
args = shlex.split(self.tox_args)
else:
args = []
errno = tox.cmdline(args=args)
sys.exit(errno)