waf-tools/command.py
changeset 9277 0f87d1cb030c
parent 7489 994360413f55
--- a/waf-tools/command.py	Mon Apr 01 21:56:36 2013 +0200
+++ b/waf-tools/command.py	Mon Apr 01 22:33:46 2013 +0200
@@ -1,18 +1,15 @@
-import TaskGen# import feature, taskgen_method, before_method, task_gen
-import Node, Task, Utils, Build
+import re
 import subprocess
-import Options
+
+# import feature, taskgen_method, before_method, task_gen
+from waflib import TaskGen, Node, Task, Utils, Build, Options, Logs, Task
+debug = Logs.debug
+error = Logs.error
 
 import shellcmd
 #shellcmd.subprocess = pproc # the WAF version of the subprocess module is supposedly less buggy
-
-from Logs import debug, error
 shellcmd.debug = debug
 
-import Task
-
-import re
-
 
 arg_rx = re.compile(r"(?P<dollar>\$\$)|(?P<subst>\$\{(?P<var>\w+)(?P<code>.*?)\})", re.M)