<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/23703">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pySim-shell: Use poutput_json() whenever applicable<br><br>poutput_json() uses a customs JSONEncoder, and hence all JSON<br>prenting should go through it.<br><br>Change-Id: Ie023669e77311350ade4f8dbc65431e71b586052<br>---<br>M pySim-shell.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.osmocom.org:29418/pysim refs/changes/03/23703/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pySim-shell.py b/pySim-shell.py</span><br><span>index 1d81eb8..cfba73f 100755</span><br><span>--- a/pySim-shell.py</span><br><span>+++ b/pySim-shell.py</span><br><span>@@ -322,7 +322,7 @@</span><br><span>           path = opts.arg_list[0]</span><br><span>              fcp_dec = self._cmd.rs.select(path, self._cmd)</span><br><span>               self._cmd.update_prompt()</span><br><span style="color: hsl(0, 100%, 40%);">-               self._cmd.poutput(json.dumps(fcp_dec, indent=4))</span><br><span style="color: hsl(120, 100%, 40%);">+              self._cmd.poutput_json(fcp_dec)</span><br><span> </span><br><span>  def complete_select(self, text, line, begidx, endidx) -> List[str]:</span><br><span>               """Command Line tab completion for SELECT"""</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/23703">change 23703</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/+/23703"/><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: Ie023669e77311350ade4f8dbc65431e71b586052 </div>
<div style="display:none"> Gerrit-Change-Number: 23703 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>