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

Python 3.9.7 gave a syntax warning.

Change-Id: I3e3a982fe720726bc0015bcdb0e638a626ec89d4
remotes/origin/18.9
Alexander Traud 3 years ago committed by Kevin Harwell
parent b5962fe528
commit b4eebfa191

@ -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()

Loading…
Cancel
Save