diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-14 14:32:20 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-29 15:44:45 +0200 |
commit | 36f186bc46f528d95d9186955e91736d1fdb299e (patch) | |
tree | 7af20e85e4696be152d211df1f8bff0044ad0257 /grc/gui/Platform.py | |
parent | e9dae9194c5abc5582f640f4d5a66794dcdeb8ca (diff) |
grc: dynamic super-classing proof-of-concept =)
Diffstat (limited to 'grc/gui/Platform.py')
-rw-r--r-- | grc/gui/Platform.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/gui/Platform.py b/grc/gui/Platform.py index 25c755675c..b8dd6aa074 100644 --- a/grc/gui/Platform.py +++ b/grc/gui/Platform.py @@ -66,6 +66,7 @@ class Platform(CorePlatform): Config = Config FlowGraph = FlowGraph Connection = Connection - Block = Block + block_classes = {key: Block.make_cls_with_base(cls) + for key, cls in CorePlatform.block_classes.items()} Port = Port Param = Param |