diff options
author | Marco Capitani <m.capitani@nextworks.it> | 2018-05-09 12:06:57 +0200 |
---|---|---|
committer | Marco Capitani <m.capitani@nextworks.it> | 2018-05-09 12:21:20 +0200 |
commit | 19d5a189b1db5ff8bd4a2f8eddad9d2e3f056cd5 (patch) | |
tree | 7006242f7fd9120b81eec0bffbe9a1aa93098cec /rumba/elements | |
parent | e7e81f30d8a6054e142cf7c77459532247a644d2 (diff) | |
download | rumba-19d5a189b1db5ff8bd4a2f8eddad9d2e3f056cd5.tar.gz rumba-19d5a189b1db5ff8bd4a2f8eddad9d2e3f056cd5.zip |
storyboard: fix Event calling get_e_id always
This fixes the behaviour of the Event class which would always
call get_e_id and fail if the action is a pure function or
not the method of a SBEntity. Now it will simply output a warning
if the event is written (because it won't be readable as-is)
On top of that, all DIFs are now scriptable, and some small fixes
and cleanups.
Diffstat (limited to 'rumba/elements')
-rw-r--r-- | rumba/elements/topology.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rumba/elements/topology.py b/rumba/elements/topology.py index 3054782..c47d541 100644 --- a/rumba/elements/topology.py +++ b/rumba/elements/topology.py @@ -35,6 +35,10 @@ class DIF(object): """ Base class for DIFs. """ + + def get_e_id(self): + return "DIF." + self.name + def __init__(self, name, members=None): """ :param name: Name of the DIF. |