Fixup imports
This commit is contained in:
@@ -13,7 +13,7 @@ import time
|
||||
import os
|
||||
import apt_pkg as apt
|
||||
|
||||
import socket.gethostname as get_unit_hostname
|
||||
from socket import gethostname as get_unit_hostname
|
||||
|
||||
LEADER = 'leader'
|
||||
PEON = 'peon'
|
||||
|
||||
@@ -37,7 +37,7 @@ from utils import (
|
||||
)
|
||||
|
||||
from charmhelpers.payload.execd import execd_preinstall
|
||||
import socket.gethostname as get_unit_hostname
|
||||
from socket import gethostname as get_unit_hostname
|
||||
|
||||
hooks = Hooks()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user