Remove some dead code.
This commit is contained in:
parent
d6cc6bd2f3
commit
8ac759098c
1 changed files with 0 additions and 9 deletions
|
@ -583,15 +583,6 @@ def leader(s):
|
|||
"Return a copy of the leading whitespace in the argument."
|
||||
return leading_ws.match(s).group(0)
|
||||
|
||||
def outdent(s):
|
||||
"Outdent line by one level."
|
||||
if s.startswith(baseindent):
|
||||
return s[len(baseindent):]
|
||||
elif s.endswith("\t"):
|
||||
return s[:-1] + baseindent
|
||||
else:
|
||||
return s
|
||||
|
||||
def hack_syntax(filename, lines):
|
||||
# Syntax transformations go here. This gets called once per WML file;
|
||||
# the name of the file is passed as filename, text of the file as the
|
||||
|
|
Loading…
Add table
Reference in a new issue