mirror of https://github.com/MISP/PyMISP
fix: Remove debugging
parent
337d9a6306
commit
732908a1d3
|
@ -1172,7 +1172,6 @@ class MISPEvent(AbstractMISP):
|
||||||
if kwargs.get('threat_level_id') is not None:
|
if kwargs.get('threat_level_id') is not None:
|
||||||
self.threat_level_id = int(kwargs.pop('threat_level_id'))
|
self.threat_level_id = int(kwargs.pop('threat_level_id'))
|
||||||
if self.threat_level_id not in [1, 2, 3, 4]:
|
if self.threat_level_id not in [1, 2, 3, 4]:
|
||||||
print(kwargs)
|
|
||||||
raise NewEventError(f'{self.info}: {self.threat_level_id} is invalid, the threat_level_id has to be in 1, 2, 3, 4')
|
raise NewEventError(f'{self.info}: {self.threat_level_id} is invalid, the threat_level_id has to be in 1, 2, 3, 4')
|
||||||
|
|
||||||
if kwargs.get('analysis') is not None:
|
if kwargs.get('analysis') is not None:
|
||||||
|
|
Loading…
Reference in New Issue