Fixed bug with function POU when extracting return type
authorLaurent Bessard
Thu, 05 Dec 2013 18:00:15 +0100
changeset 1379 086f52b2feac
parent 1378 cbc0f64a25eb
child 1380 10ac2b18437b
Fixed bug with function POU when extracting return type
PLCControler.py
--- a/PLCControler.py	Thu Dec 05 17:58:51 2013 +0100
+++ b/PLCControler.py	Thu Dec 05 18:00:15 2013 +0100
@@ -1488,8 +1488,7 @@
                 factory = VariablesInfosFactory([])
         
                 parser = etree.XMLParser()
-                if tree:
-                    parser.resolvers.add(LibraryResolver(self))
+                parser.resolvers.add(LibraryResolver(self))
                 
                 return_type_infos_xslt_tree = etree.XSLT(
                     etree.parse(