bugfix of protocol_flag update mechanism
This commit is contained in:
parent
c8b1dfcd20
commit
bb835c3da6
1 changed files with 2 additions and 2 deletions
|
|
@ -118,9 +118,9 @@ class Session(object):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
for propname, value in sessdata.items():
|
for propname, value in sessdata.items():
|
||||||
if (propname == "prototocol_flags" and isinstance(value, dict) and
|
if (propname == "protocol_flags" and isinstance(value, dict) and
|
||||||
hasattr(self, "protocol_flags") and
|
hasattr(self, "protocol_flags") and
|
||||||
isinstance(self.protocol_flags.propname, dict)):
|
isinstance(self.protocol_flags, dict)):
|
||||||
# special handling to allow partial update of protocol flags
|
# special handling to allow partial update of protocol flags
|
||||||
self.protocol_flags.update(value)
|
self.protocol_flags.update(value)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue