plcopen/plcopen.py
changeset 1382 675a6229fc60
parent 1371 3c55c99b10ab
child 1400 65a751cbb9b9
equal deleted inserted replaced
1381:8b0a7eceb76d 1382:675a6229fc60
  1331                     return action
  1331                     return action
  1332         return None
  1332         return None
  1333     setattr(cls, "getaction", getaction)
  1333     setattr(cls, "getaction", getaction)
  1334     
  1334     
  1335     def getactionList(self):
  1335     def getactionList(self):
  1336         if self.actions:
  1336         if self.actions is not None:
  1337             return self.actions.getaction()
  1337             return self.actions.getaction()
  1338         return []
  1338         return []
  1339     setattr(cls, "getactionList", getactionList)
  1339     setattr(cls, "getactionList", getactionList)
  1340     
  1340     
  1341     def removeaction(self, name):
  1341     def removeaction(self, name):