Merged revisions 77419,77435 via svnmerge from

svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line

  enclose path in quotes to handle paths with spaces correctly #7666
........
  r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines

  Issue #1967: Add fixer for dictionary views.
........
This commit is contained in:
Martin v. Löwis 2010-01-30 10:56:23 +00:00
parent a36507c64c
commit a8e34b707c
3 changed files with 69 additions and 5 deletions

View file

@ -209,6 +209,6 @@ def diff(fn, result, encoding):
finally:
f.close()
try:
return os.system("diff -u %s @" % fn)
return os.system("diff -u %r @" % fn)
finally:
os.remove("@")