remove needless import and defines in util.py
This commit is contained in:
parent
cf95473556
commit
af25e3273d
@ -21,17 +21,12 @@ import os.path
|
|||||||
import errno
|
import errno
|
||||||
import subprocess
|
import subprocess
|
||||||
from Cheetah.Template import Template
|
from Cheetah.Template import Template
|
||||||
import cloudinit
|
|
||||||
import urllib2
|
import urllib2
|
||||||
import urllib
|
import urllib
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
import traceback
|
||||||
import re
|
import re
|
||||||
|
|
||||||
WARN = logging.WARN
|
|
||||||
DEBUG = logging.DEBUG
|
|
||||||
INFO = logging.INFO
|
|
||||||
|
|
||||||
def read_conf(fname):
|
def read_conf(fname):
|
||||||
try:
|
try:
|
||||||
stream = open(fname,"r")
|
stream = open(fname,"r")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user