Converted wmlindent to Python 3
This commit is contained in:
parent
1f5d713ee1
commit
526d745dfb
1 changed files with 2 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
"""\
|
||||
wmlindent - re-indent WML in a uniform way.
|
||||
|
@ -61,11 +61,8 @@ if there's an indent open at end of file or if a closer occurs with
|
|||
indent already zero; these two conditions strongly suggest unbalanced WML.
|
||||
"""
|
||||
|
||||
from __future__ import print_function, unicode_literals, division
|
||||
from future_builtins import filter, map, zip
|
||||
|
||||
import sys, os, getopt, filecmp, re, codecs
|
||||
from wesnoth import wmltools
|
||||
from wesnoth import wmltools3 as wmltools
|
||||
|
||||
closer_prefixes = ["{NEXT "]
|
||||
opener_prefixes = ["{FOREACH "]
|
||||
|
|
Loading…
Add table
Reference in a new issue