Esempio n. 1
0
    def run(self):
        import shlex
        # import here, cause outside the eggs aren't loaded
        from tox.__main__ import main

        try:
            args = shlex.split(self.args)
        except AttributeError:
            args = []
        errno = main(args)
        sys.exit(errno)
Esempio n. 2
0
    def run(self):
        import shlex
        # import here, cause outside the eggs aren't loaded
        from tox.__main__ import main

        try:
            args = shlex.split(self.args)
        except AttributeError:
            args = []
        errno = main(args)
        sys.exit(errno)