Skip to content

Commit

Permalink
Resolve a syntax warning
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelharo committed Jul 20, 2020
1 parent 861587c commit 830b497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ryu/lib/packet/cfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def __init__(self, md_lv=0, version=CFM_VERSION,
self._opcode = CFM_CC_MESSAGE
assert rdi in [0, 1]
self.rdi = rdi
assert interval is not 0
assert interval != 0
self.interval = interval
self.seq_num = seq_num
assert 1 <= mep_id <= 8191
Expand Down

0 comments on commit 830b497

Please sign in to comment.