fix python code styles

This commit is contained in:
Vasyl Nakvasiuk
2013-07-31 10:43:06 +03:00
parent d6f794c4d7
commit 61327bc599

View File

@@ -95,12 +95,14 @@ class GraphicalSliderToolModule(GraphicalSliderToolFields, XModule):
@property
def configuration(self):
return stringify_children(
html.fromstring(self.data).xpath('configuration')[0])
html.fromstring(self.data).xpath('configuration')[0]
)
@property
def render(self):
return stringify_children(
html.fromstring(self.data).xpath('render')[0])
html.fromstring(self.data).xpath('render')[0]
)
def get_html(self):
""" Renders parameters to template. """