Commit 88e389bb by sikang

test

parent 929d42ea
...@@ -70,7 +70,7 @@ class LayoutGarble: ...@@ -70,7 +70,7 @@ class LayoutGarble:
for i in range(0,random.randint(0,20)): for i in range(0,random.randint(0,20)):
if random.randint(0,10) % random.randint(2,3) == 0: if random.randint(0,10) % random.randint(2,3) == 0:
layout = self.__rand_item(layouts).replace("${attributes}", self.__create_attributes()) layout = self.__rand_item(layouts).replace("${attributes}", self.__create_attributes())
layout.replace("${childs}",self.__create_views()) layout = layout.replace("${childs}",self.__create_views())
content += layout content += layout
else: else:
content += self.__create_views() content += self.__create_views()
......
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