From df26d0394b2db50c51d61ce0c657f85ef44598fb Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 6 May 2017 07:51:06 -0400 Subject: [PATCH] oops --- aifclient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aifclient.py b/aifclient.py index 59abb82..248f729 100755 --- a/aifclient.py +++ b/aifclient.py @@ -335,7 +335,8 @@ class aif(object): if xmlobj.find('scripts') is not None: aifdict['scripts']['pre'] = [] aifdict['scripts']['post'] = [] - tempscriptdict = {'pre': {}, 'post': {}} + aifdict['scripts']['pkg'] = [] + tempscriptdict = {'pre': {}, 'post': {}, 'pkg': {}} for x in xmlobj.find('scripts'): if all(keyname in list(x.attrib.keys()) for keyname in ('user', 'password')): auth = {}