mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-11 21:24:33 +00:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user