Refactor state providers __init__ and process_event
authorAntoine Busque <abusque@efficios.com>
Fri, 4 Dec 2015 05:36:01 +0000 (00:36 -0500)
committerAntoine Busque <abusque@efficios.com>
Fri, 4 Dec 2015 10:02:14 +0000 (05:02 -0500)
commit7e773cc0ec5e2047fee7232a947de709738c233c
tree56ef96a78c9054a4da053c23a233b8d2bef9e356
parent2f52d0c9237c9bbbe43a069293906423995b22a9
Refactor state providers __init__ and process_event

This minor refactor minimises code duplication by removing identical
implementations of process_event in classes derived from
StateProvider, and also by moving duplicated parts of the __init__
methods in these class to the parent.

Signed-off-by: Antoine Busque <abusque@efficios.com>
lttnganalyses/linuxautomaton/block.py
lttnganalyses/linuxautomaton/io.py
lttnganalyses/linuxautomaton/irq.py
lttnganalyses/linuxautomaton/mem.py
lttnganalyses/linuxautomaton/net.py
lttnganalyses/linuxautomaton/sched.py
lttnganalyses/linuxautomaton/sp.py
lttnganalyses/linuxautomaton/statedump.py
lttnganalyses/linuxautomaton/syscalls.py
This page took 0.025484 seconds and 5 git commands to generate.