[svn r61975] subprocess is in stdlib since 2.4
for backwards compatibility we use compat.subprocess if needed --HG-- branch : trunk
This commit is contained in:
+5
-1
@@ -15,7 +15,11 @@ import sys
|
||||
sys.path.insert(0, '.')
|
||||
|
||||
import py
|
||||
import os, subprocess
|
||||
import os
|
||||
try:
|
||||
import subprocess
|
||||
except ImportError:
|
||||
from py.__.compat import subprocess
|
||||
|
||||
def sysexec(cmd):
|
||||
print "executing", cmd
|
||||
|
||||
Reference in New Issue
Block a user