From 1d5ccdd5f595048dfb047520e55b71ec62ff7041 Mon Sep 17 00:00:00 2001 From: Erik Olof Gunnar Andersson Date: Tue, 21 Feb 2017 23:56:17 -0800 Subject: [PATCH] Releasing version 2.2.1 - Fixed potential Channel leak [#36] - Thanks Adam Mills. - Fixed threading losing select module during python shutdown [#37] - Thanks Adam Mills. --- CHANGELOG.rst | 3 ++- LICENSE | 2 +- README.rst | 2 ++ amqpstorm/tests/unit/channel/channel_tests.py | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 43e59c07..2f80cd77 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,7 +3,8 @@ Changelog Version 2.2.1 ------------- - +- Fixed potential Channel leak [#36] - Thanks Adam Mills. +- Fixed threading losing select module during python shutdown [#37] - Thanks Adam Mills. Version 2.2.0 ------------- diff --git a/LICENSE b/LICENSE index f654c444..8d98010e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2016 Erik Olof Gunnar Andersson +Copyright (c) 2014-2017 Erik Olof Gunnar Andersson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.rst b/README.rst index a221a142..ac6fd770 100644 --- a/README.rst +++ b/README.rst @@ -23,6 +23,8 @@ Changelog Version 2.2.1 ------------- +- Fixed potential Channel leak [#36] - Thanks Adam Mills. +- Fixed threading losing select module during python shutdown [#37] - Thanks Adam Mills. Version 2.2.0 ------------- diff --git a/amqpstorm/tests/unit/channel/channel_tests.py b/amqpstorm/tests/unit/channel/channel_tests.py index 7d844494..5ab29227 100644 --- a/amqpstorm/tests/unit/channel/channel_tests.py +++ b/amqpstorm/tests/unit/channel/channel_tests.py @@ -227,7 +227,7 @@ def on_close_ok(_, frame_out): def test_channel_close_gracefully_with_queued_error(self): def on_close_ok(_, frame_out): if isinstance(frame_out, specification.Basic.Cancel): - raise AMQPChannelError("travis-ci") + raise AMQPChannelError('travis-ci') channel.rpc.on_frame(specification.Channel.CloseOk()) channel = Channel(0, FakeConnection(on_write=on_close_ok), 360)