Skip to content
Snippets Groups Projects
Commit 9ae084ff authored by Alexander Traud's avatar Alexander Traud Committed by Friendly Automation
Browse files

ari-stubs: Avoid 'is' as comparism with an literal.

Python 3.9.7 gave a syntax warning.

Change-Id: I3e3a982fe720726bc0015bcdb0e638a626ec89d4
parent 5d8e0a65
No related branches found
No related tags found
3 merge requests!138Merge branch asterisk-20.3.0 into devel properly,!123Merge asterisk '20.3.0' into devel,!118Draft: manager: AOC-S support for AOCMessage
......@@ -60,7 +60,7 @@ def snakify(name):
for c in name:
if c.isupper() and prior_lower:
r += "_"
if c is '-':
if c == '-':
c = '_'
prior_lower = c.islower()
r += c.lower()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment