formatting

This commit is contained in:
Michel Oosterhof
2015-12-19 07:47:25 +00:00
parent 0bad8032f5
commit bcd796f915

View File

@@ -1,3 +1,9 @@
# Copyright (c) 2015 Michel Oosterhof <michel@oosterhof.net>
# All rights reserved.
"""
This module contains the sleep command
"""
from twisted.internet import reactor
@@ -11,9 +17,14 @@ class command_sleep(HoneyPotCommand):
"""
def done(self):
"""
"""
self.exit()
def start(self):
"""
"""
if len(self.args) == 1:
_time = int( self.args[0] )
self.scheduled = reactor.callLater(_time, self.done)