Commit 1d3bec52 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Sebastien Robin

victim made as optional argument in an ObjectInrerruption type

parent 07960299
......@@ -30,7 +30,7 @@ from SimPy.Simulation import Process, Resource
class ObjectInterruption(Process):
def __init__(self, victim):
def __init__(self, victim=None):
Process.__init__(self)
self.victim=victim
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment