BrainPart.get_host_brain()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 2
rs 10
cc 1
1
class BrainPart():
2
3
    def __init__(self, host_brain):
4
        self._host_brain = host_brain
5
        self._context = self._host_brain.get_context()
6
        self._host = self._host_brain.get_host()
7
8
    def get_host_brain(self):
9
        return self._host_brain
10
11
    def get_host(self):
12
        return self.get_host_brain().get_host()
13
14
    def done(self):
15
        pass