mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Hand repair of cases where reindent changed lines of the form
\t\t\t\t\treal code ##\t\t\t\t\tunused code \t\t\t\t\treal code via untabifying and shifting the real code left. Semantically the same but made the intent of the commented-out-in-column-0 unused code unclear. The exact same unused code appears to have gotten copied from file to file over the years.
This commit is contained in:
parent
78542ef830
commit
79b334ba55
6 changed files with 18 additions and 18 deletions
|
@ -30,7 +30,7 @@ def process(arg):
|
|||
f.close()
|
||||
i = string.find(data, OLD_NOTICE)
|
||||
if i < 0:
|
||||
## print "No old notice in", arg
|
||||
## print "No old notice in", arg
|
||||
return
|
||||
data = data[:i] + NEW_NOTICE + data[i+len(OLD_NOTICE):]
|
||||
new = arg + ".new"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue