Skip to content

Commit

Permalink
soft go live 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lepto2014 committed Jul 16, 2024
1 parent 367c22f commit 8e7fdd1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion code_db/js/Controllers/imc.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const mappingFetchIMC = (
return cb({ message: err.message });
}
const { dataList = [] } = response[0];
return cb(null, dataList);
return cb(null, null);
}
);
}]
Expand Down
4 changes: 2 additions & 2 deletions code_db/python/main_multi_prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -4769,8 +4769,8 @@ def file_upload_v1():
# pdf_cleaned_path = os.getcwd() + "/uploads/" + name
pdf_cleaned_path = file_write_path
try:
start_page = (str(request.form["start_page"]))
end_page = (str(request.form["end_page"]))
start_page = int(str(request.form["start_page"]))
end_page = int(str(request.form["end_page"]))

print("start_page :", start_page)
print("end_page :", end_page)
Expand Down
8 changes: 5 additions & 3 deletions utils/trigger_downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,11 @@ def start( change_summary_file_, \
print('===================IMPACT SUMMARY ',fnm,' :: ', method_,'=======================================')

print('====== BASE CHANGE IMPACT=>', change_record_['base_change_impact'])
if "impact_analysis" in change_record_ and "impact_analysis" in change_record_["impact_analysis"]:
print('====== DOWN STREAM IMPACT =============================')
print( json.dumps( change_record_["impact_analysis"]["impact_analysis"], indent=4 ) )
if "impact_analysis" in change_record_ :
for downstream_impacted_ in change_record_["impact_analysis"]:
if "impact_analysis" in downstream_impacted_:
print('====== DOWN STREAM IMPACT =============================')
print( json.dumps( downstream_impacted_["impact_analysis"], indent=4 ) )

if __name__ == "__main__":

Expand Down

0 comments on commit 8e7fdd1

Please sign in to comment.