Skip to content

Commit

Permalink
Move shlex import to top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwilsdon committed Jun 14, 2016
1 parent 281bfd8 commit 0b07602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -5,6 +5,7 @@
import sys
from setuptools.dist import Distribution
from setuptools import setup, Command
import shlex


class CustomDistribution(Distribution):
Expand Down Expand Up @@ -52,7 +53,6 @@ def run(self):
# Without this, Tox can't find it's dependencies.
self.distribution.export_live_eggs()

shlex = __import__('shlex')
tox = __import__('tox')

parsed_args = shlex.split(self.tox_args)
Expand Down

0 comments on commit 0b07602

Please sign in to comment.