Simplify some code, reflecting 1.4 conventions.
This commit is contained in:
parent
8ac759098c
commit
319492634b
1 changed files with 1 additions and 4 deletions
|
@ -700,10 +700,7 @@ def hack_syntax(filename, lines):
|
|||
|
||||
def is_map(filename):
|
||||
"Is this file a map?"
|
||||
if isresource(filename) or '{' in filename or '}' in filename:
|
||||
return False
|
||||
if filename.endswith(".map"):
|
||||
return True
|
||||
return filename.endswith(".map")
|
||||
|
||||
if 0: # Not used, as there are currently no defined map transforms
|
||||
class maptransform_error:
|
||||
|
|
Loading…
Add table
Reference in a new issue