--- a/plcopen/plcopen.py Tue Aug 06 01:28:42 2013 +0200
+++ b/plcopen/plcopen.py Tue Aug 06 01:29:14 2013 +0200
@@ -2801,6 +2801,7 @@
def getconnections(self):
if self.content:
return self.content["value"]
+ return []
setattr(cls, "getconnections", getconnections)
def setconnectionId(self, idx, id):
@@ -2822,7 +2823,7 @@
def getconnectionPoints(self, idx):
if self.content:
return self.content["value"][idx].getpoints()
- return None
+ return []
setattr(cls, "getconnectionPoints", getconnectionPoints)
def setconnectionParameter(self, idx, parameter):