zougloub committed 92ec3ad

Revert "cleanup"

This reverts commit 3fa197298ba8adb7700c8054ae8de8296c3e77ad.

Trying to import extras/subprocess first fails on Python 3.{1,2}.

  • Participants
  • Parent commits d3df3f3

Comments (0)

Files changed (1)

File waflib/

 import os, sys, errno, traceback, inspect, re, shutil, datetime, gc
-	from waflib.extras import subprocess
-except ImportError:
 	import subprocess
+	try:
+		import waflib.extras.subprocess as subprocess
+	except:
+		print("The subprocess module is missing (python2.3?):\n try calling 'waf update --files=subprocess'\n or add a copy of to the python libraries")
 	from collections import deque