Kaynağa Gözat

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

Mark Haines 8 yıl önce
ebeveyn
işleme
06094591c5
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      setup.py

+ 2 - 0
setup.py

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