<p>fixeria <strong>uploaded patch set #5</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/17283">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">transport/pcsc: work around Python 3.5 bug: guard disconnect()<br><br>Unfortunately, Debian ships old Python (3.5 vs 3.8) and old pyscard<br>(1.9.4 vs 1.9.9). Calling PCSCCardConnection.disconnect() from a<br>destructor causes warnings about ignored exceptions:<br><br>  AttributeError: 'NoneType' object has no attribute 'disconnect'<br>  AttributeError: 'NoneType' object has no attribute 'setChanged'<br>  AttributeError: 'NoneType' object has no attribute 'SCardDisconnect'<br>  TypeError: 'NoneType' object is not callable<br><br>All these exceptions happen in pyscard's own destructors.<br><br>Change-Id: I9c644bc5fe9791b141a30bfc13647d77937a82ee<br>---<br>M pySim/transport/pcsc.py<br>1 file changed, 5 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/83/17283/5</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/17283">change 17283</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/c/pysim/+/17283"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9c644bc5fe9791b141a30bfc13647d77937a82ee </div>
<div style="display:none"> Gerrit-Change-Number: 17283 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>