[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:
getxsick
2009-02-17 18:24:41 +01:00
parent 0dc97ccd5e
commit 1c85d7fe9a
4 changed files with 19 additions and 4 deletions
+5 -1
View File
@@ -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