'SFA_PLC_URL',
]:
fileconf.write ('e %s\n%s\n'%(var,self.plc_spec['sfa'][var]))
+ # the way plc_config handles booleans just sucks..
+ for var in ['SFA_API_DEBUG']:
+ val='false'
+ if self.plc_spec['sfa'][var]: val='true'
+ fileconf.write ('e %s\n%s\n'%(var,val))
fileconf.write('w\n')
fileconf.write('R\n')
fileconf.write('q\n')
'SFA_PLC_DB_USER' : 'pgsqluser',
'SFA_PLC_DB_PASSWORD' : 'mnbvcxzlkjhgfdsapoiuytrewq',
'SFA_PLC_URL' : 'deferred-myplc-api-url',
+ 'SFA_API_DEBUG': True,
'sfa_slice_specs' : sfa_slice_specs(options,index,slicename,regularuser),
'sfa_slice_xml' : sfa_slice_xml(options,index,piuser,slicename),
'sfa_person_xml' : sfa_person_xml(options,index,regularuser),