Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor clean-up #586

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/demo/credentials/multisig-signify-issue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ kli oobi resolve --name multisig2 --oobi-alias agent0 --oobi http://127.0.0.1:39
# Follow commands run in parallel
kli multisig incept --name multisig1 --alias multisig1 --group multisig --file ${KERI_DEMO_SCRIPT_DIR}/data/multisig-signify-sample.json &
pid=$!
PID_LIST+=" $pid"
PID_LIST=" $pid"
kli multisig incept --name multisig2 --alias multisig2 --group multisig --file ${KERI_DEMO_SCRIPT_DIR}/data/multisig-signify-sample.json &
pid=$!
PID_LIST+=" $pid"

wait $PID_LIST
PID_LIST=""
Expand Down
4 changes: 0 additions & 4 deletions src/keri/core/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,6 @@ def msgParsator(self, ims=None, framed=True, pipeline=False,
rvy.processReply(serder, tsgs=tsgs) # trans

except AttributeError as e:
print(e)
raise kering.ValidationError("No kevery to process so dropped msg"
"= {}.".format(serder.pretty()))

Expand Down Expand Up @@ -1107,11 +1106,8 @@ def msgParsator(self, ims=None, framed=True, pipeline=False,
exc.processEvent(tsgs=tsgs, **args)

except AttributeError as e:
print(e)
raise kering.ValidationError("No Exchange to process so dropped msg"
"= {}.".format(serder.pretty()))
except Exception as e:
print(e)

elif ilk in (Ilks.vcp, Ilks.vrt, Ilks.iss, Ilks.rev, Ilks.bis, Ilks.brv):
# TEL msg
Expand Down
3 changes: 1 addition & 2 deletions tests/core/test_coring.py
Original file line number Diff line number Diff line change
Expand Up @@ -5852,8 +5852,7 @@ def test_serder():
s="0001",
t="rot")
_, e4 = coring.Saider.saidify(sad=e4)
print()
print(e4)

e4s = json.dumps(e4, separators=(",", ":"), ensure_ascii=False).encode("utf-8")
assert e4s == (b'{"v":"ACDC10JSON00006f_","d":"EMFw6MEBmwWU28-7wK4SJ2kasSzVgLKkAM7iwoqJJ07Z",'
b'"i":"ABCDEFG","s":"0001","t":"rot"}')
Expand Down
Loading