shakemap.coremods.sleep

Sleep for a specified number of seconds.

class shakemap.coremods.sleep.SleepModule(eventid, seconds=None)[source]

Bases: CoreModule

sleep – Sleep for a number of seconds.

Instantiate a SleepModule class with an event ID.

command_name = 'sleep'
execute()[source]

Sleep for the specified number of seconds and return. The default is 60 seconds.

parseArgs(arglist)[source]

Set up the object to accept the –seconds flag.