<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/23377">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">filesystem: add comment to inform about checks in add_file()<br><br>The method add_file of class CardDF does some constraint checking<br>to the basic file parameters (e.g. fid). Since one might also expect<br>those checks in the superclass CardFile lets leave a comment to make<br>the code better understandable.<br><br>Change-Id: Iebae28909fe6aade3bd4024112a222819572d735<br>Related: OS#4963<br>---<br>M pySim/filesystem.py<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/77/23377/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pySim/filesystem.py b/pySim/filesystem.py</span><br><span>index bbead96..fa1e02c 100644</span><br><span>--- a/pySim/filesystem.py</span><br><span>+++ b/pySim/filesystem.py</span><br><span>@@ -55,6 +55,10 @@</span><br><span>             self.parent.add_file(self)</span><br><span>         self.shell_commands = []</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+     # Note: the basic properties (fid, name, ect.) are verified when</span><br><span style="color: hsl(120, 100%, 40%);">+      # the file is attached to a parent file. See method add_file() in</span><br><span style="color: hsl(120, 100%, 40%);">+     # class Card DF</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>     def __str__(self):</span><br><span>         if self.name:</span><br><span>             return self.name</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/23377">change 23377</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/+/23377"/><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: Iebae28909fe6aade3bd4024112a222819572d735 </div>
<div style="display:none"> Gerrit-Change-Number: 23377 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>