mirror of https://github.com/MISP/PyMISP
chg: Remove useless timestamp cleanup
parent
8edd536be8
commit
2f65995572
|
@ -211,9 +211,6 @@
|
||||||
"## Convert it to a PyMISP Event\n",
|
"## Convert it to a PyMISP Event\n",
|
||||||
"event = MISPEvent()\n",
|
"event = MISPEvent()\n",
|
||||||
"event.from_dict(**event_dict)\n",
|
"event.from_dict(**event_dict)\n",
|
||||||
"## Let MISP update the timestamp. Otherwise, MISP will compare the two timestamps \n",
|
|
||||||
"## (which are equals) and reject the the update\n",
|
|
||||||
"del event.timestamp\n",
|
|
||||||
"\n",
|
"\n",
|
||||||
"## Add the attribute to the event\n",
|
"## Add the attribute to the event\n",
|
||||||
"event.add_attribute(**attribute)\n",
|
"event.add_attribute(**attribute)\n",
|
||||||
|
|
Loading…
Reference in New Issue