Skip to content

Commit

Permalink
Merge pull request #1909 from st1020/fix/method-pool-format-error
Browse files Browse the repository at this point in the history
fix: method pool format error
  • Loading branch information
st1020 authored Nov 15, 2023
2 parents f902902 + c1e47a0 commit 5f4f114
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dongtai_common/engine/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ def method_pool_3_to_2(dic: dict) -> dict:
dic["taintPosition"]["target"] = []
for pv in dic["parameterValues"]:
pdict[pv["index"]] = pv["value"]
if "objValue" not in dic:
dic["objValue"] = ""
if "retValue" not in dic:
dic["retValue"] = ""
sourceValues = []
targetValues = []
for position in dic["taintPosition"]["source"]:
Expand Down

0 comments on commit 5f4f114

Please sign in to comment.