kopia lustrzana https://github.com/Langenfeld/py-gitea
fixed #16
rodzic
99d82deb62
commit
af633cfd28
|
@ -438,7 +438,7 @@ class Issue:
|
||||||
|
|
||||||
def get_estimate_sum(self):
|
def get_estimate_sum(self):
|
||||||
"""Returns the summed estimate-labeled values"""
|
"""Returns the summed estimate-labeled values"""
|
||||||
return sum(map(lambda l: float(l["name"][10:]), self.labels))
|
return sum(map(lambda l: float(l["name"][10:]), filter(lambda l: l["name"][:10] == 'estimate: ' , self.labels)))
|
||||||
|
|
||||||
|
|
||||||
class Branch:
|
class Branch:
|
||||||
|
|
Ładowanie…
Reference in New Issue