From ba3931b667ea2c8f30dff4cd176a106d6d4cb51c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 8 Sep 2009 05:46:28 +0000 Subject: Fix typo that worked on python 2.6. Also, fix unit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81194 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/lit/ShCommands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils/lit/ShCommands.py') 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 -- cgit v1.2.3-18-g5258