Passed
Pull Request — master (#683)
by Konstantin
05:41
created

id.id()   A

Complexity

Conditions 2

Size

Total Lines 5
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 2
nop 1
1
@property
2
def id(self):
3
    if hasattr(self, 'pcGtsId'):
4
        return self.pcGtsId
5
    return self.imageFilename
6