Skip to content

Commit

Permalink
Merge pull request #817 from oberstet/master
Browse files Browse the repository at this point in the history
bump version; update changelog
  • Loading branch information
oberstet committed Apr 15, 2017
2 parents be321db + e01c999 commit d9c60be
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion autobahn/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
#
###############################################################################

__version__ = u'0.18.1'
__version__ = u'0.18.2'
12 changes: 6 additions & 6 deletions autobahn/wamp/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ def parse(wmsg):
else:
if len(wmsg) > 5:
args = wmsg[5]
if type(args) != list:
if args is not None and type(args) != list:
raise ProtocolError("invalid type {0} for 'args' in ERROR".format(type(args)))

if len(wmsg) > 6:
Expand Down Expand Up @@ -2400,7 +2400,7 @@ def parse(wmsg):
else:
if len(wmsg) > 4:
args = wmsg[4]
if type(args) != list:
if args is not None and type(args) != list:
raise ProtocolError("invalid type {0} for 'args' in EVENT".format(type(args)))
if len(wmsg) > 5:
kwargs = wmsg[5]
Expand Down Expand Up @@ -2741,7 +2741,7 @@ def parse(wmsg):
else:
if len(wmsg) > 4:
args = wmsg[4]
if type(args) != list:
if args is not None and type(args) != list:
raise ProtocolError("invalid type {0} for 'args' in CALL".format(type(args)))

if len(wmsg) > 5:
Expand Down Expand Up @@ -3048,7 +3048,7 @@ def parse(wmsg):
else:
if len(wmsg) > 3:
args = wmsg[3]
if type(args) != list:
if args is not None and type(args) != list:
raise ProtocolError("invalid type {0} for 'args' in RESULT".format(type(args)))

if len(wmsg) > 4:
Expand Down Expand Up @@ -3705,7 +3705,7 @@ def parse(wmsg):
else:
if len(wmsg) > 4:
args = wmsg[4]
if type(args) != list:
if args is not None and type(args) != list:
raise ProtocolError("invalid type {0} for 'args' in INVOCATION".format(type(args)))

if len(wmsg) > 5:
Expand Down Expand Up @@ -4059,7 +4059,7 @@ def parse(wmsg):
else:
if len(wmsg) > 3:
args = wmsg[3]
if type(args) != list:
if args is not None and type(args) != list:
raise ProtocolError("invalid type {0} for 'args' in YIELD".format(type(args)))

if len(wmsg) > 4:
Expand Down
10 changes: 10 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
Changelog
=========

0.18.2
------

`Published 2017-04-14 <https://pypi.python.org/pypi/autobahn/0.18.2>`__

* new: payload codec API
* fix: make WAMP-cryptobox use new payload codec API
* fix: automatic binary conversation for JSON
* new: improvements to experimental component API

0.18.1
------

Expand Down

0 comments on commit d9c60be

Please sign in to comment.