From 0fa082523184aade5f6586b42c6ba0fe5357de11 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 11 Nov 2014 21:21:18 +0400 Subject: [PATCH] rename 'honeypot' parameter to 'protocol', the conch term --- kippo/core/honeypot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kippo/core/honeypot.py b/kippo/core/honeypot.py index 6c5ed2d2..5159e3a7 100644 --- a/kippo/core/honeypot.py +++ b/kippo/core/honeypot.py @@ -16,8 +16,8 @@ from kippo import core import pickle class HoneyPotCommand(object): - def __init__(self, honeypot, *args): - self.honeypot = honeypot + def __init__(self, protocol, *args): + self.honeypot = protocol self.args = args self.writeln = self.honeypot.writeln self.write = self.honeypot.terminal.write @@ -50,8 +50,8 @@ class HoneyPotCommand(object): pass class HoneyPotShell(object): - def __init__(self, honeypot, interactive = True): - self.honeypot = honeypot + def __init__(self, protocol, interactive = True): + self.honeypot = protocol self.interactive = interactive self.showPrompt() self.cmdpending = []