Fixed notify function
parent
104ef71128
commit
cc2ac332d1
|
@ -34,7 +34,7 @@ class Spec:
|
||||||
for path in tarballs[self.limit - 1:]:
|
for path in tarballs[self.limit - 1:]:
|
||||||
path.unlink()
|
path.unlink()
|
||||||
|
|
||||||
def notify(status_code):
|
def notify(self, status_code):
|
||||||
if status_code:
|
if status_code:
|
||||||
if "failure" not in self.events:
|
if "failure" not in self.events:
|
||||||
return
|
return
|
||||||
|
|
Reference in New Issue