xmlclass/xmlclass.py
changeset 1777 c46ec818bdd7
parent 1775 b45f2768fab1
child 1780 c52d1460cea8
--- a/xmlclass/xmlclass.py	Sat Aug 19 16:45:37 2017 +0300
+++ b/xmlclass/xmlclass.py	Sat Aug 19 17:04:31 2017 +0300
@@ -1371,8 +1371,8 @@
                     if element_idx > 0:
                         previous_elements_xpath = "|".join(map(
                             lambda x: prefix + x
-                                      if x != "content"
-                                      else elements["content"]["elmt_type"]["choices_xpath"].path,
+                            if x != "content"
+                            else elements["content"]["elmt_type"]["choices_xpath"].path,
                             elements.keys()[:element_idx]))
 
                         insertion_point = len(self.xpath(previous_elements_xpath, namespaces=factory.NSMAP))