Skip to content

Commit

Permalink
Merge pull request #50 from hari01584/patch-1
Browse files Browse the repository at this point in the history
Remove `internal must be false` check to support RabbitMQ Tracing
  • Loading branch information
gmr authored Jan 12, 2024
2 parents 08d83c6 + 6f30d04 commit 89da27c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pamqp/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,6 @@ def validate(self) -> None:
if self.exchange is not None and not constants.DOMAIN_REGEX[
'exchange-name'].fullmatch(self.exchange):
raise ValueError('Invalid value for exchange')
if self.internal is not None and self.internal is not False:
raise ValueError('internal must be False')

class DeclareOk(base.Frame):
"""Confirm exchange declaration
Expand Down

0 comments on commit 89da27c

Please sign in to comment.