fix copy imports

This commit is contained in:
Michel Oosterhof
2014-11-09 17:33:29 +04:00
parent 658de4b657
commit d3bfeca331
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import twisted
import os
import shlex
import re
import copy.copy
import copy
from twisted.python import log
from kippo.core import fs

View File

@ -5,7 +5,7 @@ import os
import random
import time
import struct
import copy.copy
import copy
from twisted.conch import recvline
from twisted.conch.ssh import transport
@ -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,7 @@ import os
import copy
import time
import uuid
import copy.deepcopy
import copy
from zope.interface import implementer