fix import copy bug

This commit is contained in:
raphaj
2014-11-11 22:03:00 +01:00
parent 6cf639af74
commit 0d2ae7153a
2 changed files with 1 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ class HoneyPotBaseProtocol(insults.TerminalProtocol):
else:
self.cwd = '/'
# commands is also a copy so we can add stuff on the fly
self.commands = copy(self.env.commands)
self.commands = copy.copy(self.env.commands)
self.password_input = False
self.cmdstack = []

View File

@@ -5,7 +5,6 @@ import os
import copy
import time
import uuid
import copy
from zope.interface import implementer