优化代码

dependabot/npm_and_yarn/fir_admin/ws-5.2.3
youngS 3 years ago
parent a5a79867f1
commit bb5d5829df
  1. 8
      fir_ser/api/utils/app/iossignapi.py

@ -202,10 +202,10 @@ class AppDeveloperApiV2(object):
with open(csr_path + ".cer", 'wb') as f:
f.write(n)
self.make_pem(n, csr_path + ".pem")
logger.info("ios developer create result:%s" % certificates.certificateContent)
logger.info("ios developer create cert result:%s" % certificates.certificateContent)
return True, certificates
except Exception as e:
logger.error("ios developer active Failed Exception:%s" % e)
logger.error("ios developer create cert Failed Exception:%s" % e)
result['return_info'] = "%s" % e
return False, result
@ -338,7 +338,7 @@ class AppDeveloperApiV2(object):
if devices_obj_list:
return True, devices_obj_list
except Exception as e:
logger.error("ios developer delete profile Failed Exception:%s" % e)
logger.error("ios developer get device Failed Exception:%s" % e)
result['return_info'] = "%s" % e
return False, result
@ -350,7 +350,7 @@ class AppDeveloperApiV2(object):
return True, {}
except Exception as e:
logger.error("ios developer delete profile Failed Exception:%s" % e)
logger.error("ios developer delete app Failed Exception:%s" % e)
result['return_info'] = "%s" % e
return False, result

Loading…
Cancel
Save