From bcd796f915f61d7746da02f638962024c86cf341 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Sat, 19 Dec 2015 07:47:25 +0000 Subject: [PATCH] formatting --- cowrie/commands/sleep.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cowrie/commands/sleep.py b/cowrie/commands/sleep.py index c05380f..4d55905 100644 --- a/cowrie/commands/sleep.py +++ b/cowrie/commands/sleep.py @@ -1,3 +1,9 @@ +# Copyright (c) 2015 Michel Oosterhof +# 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)