equal
deleted
inserted
replaced
1557 return [] |
1557 return [] |
1558 |
1558 |
1559 # Return edited element transitions |
1559 # Return edited element transitions |
1560 def GetEditedElementActions(self, tagname, debug = False): |
1560 def GetEditedElementActions(self, tagname, debug = False): |
1561 pou = self.GetEditedElement(tagname, debug) |
1561 pou = self.GetEditedElement(tagname, debug) |
1562 if pou is None and pou.getbodyType() == "SFC": |
1562 if pou is not None and pou.getbodyType() == "SFC": |
1563 actions = [] |
1563 actions = [] |
1564 for action in pou.getactionList(): |
1564 for action in pou.getactionList(): |
1565 actions.append(action.getname()) |
1565 actions.append(action.getname()) |
1566 return actions |
1566 return actions |
1567 return [] |
1567 return [] |