<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17535">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Kevin Harwell: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ari-stubs: Avoid 'is' as comparism with an literal.<br><br>Python 3.9.7 gave a syntax warning.<br><br>Change-Id: I3e3a982fe720726bc0015bcdb0e638a626ec89d4<br>---<br>M rest-api-templates/asterisk_processor.py<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/rest-api-templates/asterisk_processor.py b/rest-api-templates/asterisk_processor.py</span><br><span>index ad88ebb..be1c6dd 100644</span><br><span>--- a/rest-api-templates/asterisk_processor.py</span><br><span>+++ b/rest-api-templates/asterisk_processor.py</span><br><span>@@ -60,7 +60,7 @@</span><br><span> for c in name:</span><br><span> if c.isupper() and prior_lower:</span><br><span> r += "_"</span><br><span style="color: hsl(0, 100%, 40%);">- if c is '-':</span><br><span style="color: hsl(120, 100%, 40%);">+ if c == '-':</span><br><span> c = '_'</span><br><span> prior_lower = c.islower()</span><br><span> r += c.lower()</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17535">change 17535</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/17535"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I3e3a982fe720726bc0015bcdb0e638a626ec89d4 </div>
<div style="display:none"> Gerrit-Change-Number: 17535 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>