Commit 0582cca3 by sikang

test

parent 2dd3113f
......@@ -95,7 +95,7 @@ class LayoutGarble:
for line in lines:
view_name = line.replace("<","").replace("/","").replace(">","")
#自定义layout忽略
if "<" in line and "." in line:
if "<" in line and "." in line and "/" not in line:
items = line.split(".")
if items[len(items)-1] in self.__config['ignore_layout']:
ignores.append(view_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment