<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17534">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/34/17534/1</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><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17534">change 17534</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/+/17534"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: I3e3a982fe720726bc0015bcdb0e638a626ec89d4 </div>
<div style="display:none"> Gerrit-Change-Number: 17534 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>