aboutsummaryrefslogtreecommitdiff
path: root/utils/lit/ShCommands.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lit/ShCommands.py')
-rw-r--r--utils/lit/ShCommands.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/lit/ShCommands.py b/utils/lit/ShCommands.py
index be3e680e9e..4550437ce2 100644
--- a/utils/lit/ShCommands.py
+++ b/utils/lit/ShCommands.py
@@ -1,5 +1,3 @@
-import ShUtil
-
class Command:
def __init__(self, args, redirects):
self.args = list(args)
@@ -26,6 +24,7 @@ class Command:
print >>file, quoted,
# For debugging / validation.
+ import ShUtil
dequoted = list(ShUtil.ShLexer(quoted).lex())
if dequoted != [arg]:
raise NotImplementedError,'Unable to quote %r' % arg