Skip to content

Commit

Permalink
Merge remote-tracking branch 'intern/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfix committed Feb 11, 2020
2 parents 3c69a11 + f9acda3 commit 97537c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asyncamqp/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from . import properties as amqp_properties
from .envelope import Envelope, ReturnEnvelope
from .future import Future
from .exceptions import AmqpClosedConnection
from .exceptions import AmqpClosedConnection, SynchronizationError

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -253,7 +253,7 @@ async def close(self, reply_code=0, reply_text="Normal Shutdown"):
async def close_ok(self, frame):
try:
w = self._get_waiter('close')
except asyncamqp.exceptions.SynchronizationError:
except SynchronizationError:
pass
else:
await w.set_result(True)
Expand Down

0 comments on commit 97537c9

Please sign in to comment.