Sfoglia il codice sorgente

NodeSetCompiler: Remove an unused method

Julius Pfrommer 5 anni fa
parent
commit
314517a297
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      tools/nodeset_compiler/nodeset.py

+ 0 - 6
tools/nodeset_compiler/nodeset.py

@@ -145,12 +145,6 @@ class NodeSet(object):
     def getNodeByBrowseName(self, idstring):
         return next((n for n in self.nodes.values() if idstring == n.browseName.name), None)
 
-    def getNodeById(self, namespace, id):
-        nodeId = NodeId()
-        nodeId.ns = namespace
-        nodeId.i = id
-        return self.nodes[nodeId]
-
     def getRoot(self):
         return self.getNodeByBrowseName("Root")