Fix deprecated imports.

Change-Id: I5b721e90632a0b3ec0dcb64ebaef9bc15bc171ce
This commit is contained in:
Alexander Lenz
2016-08-12 16:16:21 +02:00
parent 2dae7649be
commit 6a2fa8d6a0
2 changed files with 1 additions and 5 deletions

View File

@ -52,10 +52,6 @@ def get_class(spec):
return getattr(module, classname)
# moved below definitions to break import cycle
from pidfile import *
from startup import *
if __name__ == '__main__':
print "minimal testing: lib"
d = attrdict(a=1, b=2)

View File

@ -30,7 +30,7 @@ from daemon import DaemonContext
from daemon.pidfile import TimeoutPIDLockFile
import loggers
from lib import read_pidfile, write_pidfile, get_class, check_pidfile
from lib import get_class
from protocol.dispatcher import Dispatcher
from protocol.interface import INTERFACES
from protocol.transport import ENCODERS, FRAMERS