Skip to content

Commit

Permalink
Happfiy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrow committed Mar 2, 2019
1 parent 2d1602a commit cd810b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions amqp/serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@

ftype_t = chr if sys.version_info[0] == 3 else None

ILLEGAL_TABLE_TYPE = "Table type {0!r} not handled by amqp."
ILLEGAL_TABLE_TYPE = "Table type {0!r} not handled" \
" by amqp."

ILLEGAL_TABLE_TYPE_WITH_KEY = "Table type {0!r} for key {1!r} not handled by amqp. [value: {2!r}]"
ILLEGAL_TABLE_TYPE_WITH_KEY = "Table type {0!r} for key {1!r} not handled" \
"by amqp. [value: {2!r}]"

ILLEGAL_TABLE_TYPE_WITH_VALUE = "Table type {0!r} not handled by amqp. [value: {1!r}]"
ILLEGAL_TABLE_TYPE_WITH_VALUE = "Table type {0!r} not handled by amqp."\
" [value: {1!r}]"


def _read_item(buf, offset=0, unpack_from=unpack_from, ftype_t=ftype_t):
Expand Down

0 comments on commit cd810b1

Please sign in to comment.