This commit is contained in:
brent s 2017-05-06 07:51:06 -04:00
parent 517d8135cc
commit df26d0394b

View File

@ -335,7 +335,8 @@ class aif(object):
if xmlobj.find('scripts') is not None: if xmlobj.find('scripts') is not None:
aifdict['scripts']['pre'] = [] aifdict['scripts']['pre'] = []
aifdict['scripts']['post'] = [] aifdict['scripts']['post'] = []
tempscriptdict = {'pre': {}, 'post': {}} aifdict['scripts']['pkg'] = []
tempscriptdict = {'pre': {}, 'post': {}, 'pkg': {}}
for x in xmlobj.find('scripts'): for x in xmlobj.find('scripts'):
if all(keyname in list(x.attrib.keys()) for keyname in ('user', 'password')): if all(keyname in list(x.attrib.keys()) for keyname in ('user', 'password')):
auth = {} auth = {}