Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite05e7bc

Browse files
committed
util: accept sync interests with no entries
1 parentfce1297 commite05e7bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎ndn_python_repo/utils/passive_svs.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def sync_handler(self, name: FormalName, _param: InterestParam, _app_param: Bina
9494
except (DecodeError,IndexError)ase:
9595
logging.error(f'Unable to decode state vector [{Name.to_str(name)}]:{e}')
9696
return
97-
ifremote_sv_pktisNoneornotremote_sv_pkt.entries:
97+
ifremote_sv_pktisNone:
98+
logging.error(f'Sync Interest does not contain state vectors')
9899
return
99100
remote_sv=remote_sv_pkt.entries
100101

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp