Skip to content

Commit

Permalink
Duh
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfix committed Aug 3, 2019
1 parent c65722d commit f9acda3
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 @@ -15,7 +15,7 @@
from . import exceptions
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 @@ -293,7 +293,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 f9acda3

Please sign in to comment.