Skip to content

Commit fd05935

Browse files
make runtox.py not import external modules unless run as a script
Was not needed since the script actually does nothing unless run as a script. --HG-- branch : jurko/tox_usage
1 parent c2c5047 commit fd05935

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

runtox.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env python
22

3-
import subprocess
4-
import sys
5-
63
if __name__ == "__main__":
4+
import subprocess
5+
import sys
76
subprocess.call([sys.executable, "-m", "tox",
87
"-i", "ALL=https://devpi.net/hpk/dev/",
98
"--develop"] + sys.argv[1:])

0 commit comments

Comments
 (0)