- SFI_USER=self.obj_hrn(self.auth_sfa_spec['pi_spec']['name'])
- fileconf.write ("SFI_USER='%s'"%SFI_USER)
- fileconf.write('\n')
- SFI_REGISTRY='http://%s:%s/'%(sfa_spec['settings']['SFA_REGISTRY_HOST'],12345)
- fileconf.write ("SFI_REGISTRY='%s'"%SFI_REGISTRY)
- fileconf.write('\n')
- SFI_SM='http://%s:%s/'%(sfa_spec['settings']['SFA_SM_HOST'],sfa_spec['sfi-connects-to-port'])
- fileconf.write ("SFI_SM='%s'"%SFI_SM)
- fileconf.write('\n')
+ SFI_USER=self.obj_hrn(self.auth_sfa_spec['pi_spec']['name'])
+ fileconf.write("SFI_USER='{}'".format(SFI_USER))
+ fileconf.write('\n')
+ SFI_REGISTRY='http://{}:{}/'.format(sfa_spec['settings']['SFA_REGISTRY_HOST'], 12345)
+ fileconf.write("SFI_REGISTRY='{}'".format(SFI_REGISTRY))
+ fileconf.write('\n')
+ SFI_SM='http://{}:{}/'.format(sfa_spec['settings']['SFA_SM_HOST'], sfa_spec['sfi-connects-to-port'])
+ fileconf.write("SFI_SM='{}'".format(SFI_SM))
+ fileconf.write('\n')