<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>



</head>
<body>
<style type="text/css">
img {
max-width: 100%; height: auto;
}
</style>
<div class="content">
<h3>
Ian Bruene pushed to branch decimal-fix
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/52529a0256ce515474ec628eeeae6f9465e2fd6a">52529a02</a></strong>
<div>
<span>by Ian Bruene</span>
<i>at 2017-04-13T18:38:37-05:00</i>
</div>
<pre class="commit-message" style="margin: 0; white-space: pre-wrap">Rearranged ifs.
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#a61fb9541c7ffe95e3b809ea55001114580d13e4">
pylib/util.py
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="a61fb9541c7ffe95e3b809ea55001114580d13e4">
<a href="https://gitlab.com/NTPsec/ntpsec/commit/52529a0256ce515474ec628eeeae6f9465e2fd6a#a61fb9541c7ffe95e3b809ea55001114580d13e4"><strong>pylib/util.py</strong></a>
<hr>
<table class="code white" style="-premailer-cellpadding: 0; -premailer-cellspacing: 0; -premailer-width: 100%; background: #fff; font-family: monospace; font-size: 12px" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="332" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="332" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -332,22 +332,22 @@ def fitinfield(value, fieldsize):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="332" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
332
</td>
<td class="diff-line-num new_line" data-linenumber="332" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
332
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC332" class="line" lang="python">        <span class="n" style="color: #333">pad</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">" "</span> <span class="o" style="font-weight: bold">*</span> <span class="p">(</span><span class="n" style="color: #333">fieldsize</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">vallen</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="333" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
333
</td>
<td class="diff-line-num new_line" data-linenumber="333" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
333
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC333" class="line" lang="python">        <span class="n" style="color: #333">newvalue</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">pad</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">value</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="334" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
334
</td>
<td class="diff-line-num new_line" data-linenumber="334" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
334
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC334" class="line" lang="python">    <span class="k" style="font-weight: bold">else</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># Insufficient room, round as few digits as possible</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="335" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
335
</td>
<td class="diff-line-num new_line old" data-linenumber="335" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC335" class="line" lang="python">        <span class="n" style="color: #333"><span class="idiff left">diff</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">vallen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">-</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff right">fieldsize</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="336" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
336
</td>
<td class="diff-line-num new_line old" data-linenumber="335" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC336" class="line" lang="python">        <span class="k" style="font-weight: bold"><span class="idiff left">if</span></span><span class="idiff"> </span><span class="s" style="color: #d14"><span class="idiff">"."</span></span><span class="idiff"> </span><span class="ow" style="font-weight: bold"><span class="idiff">in</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">value</span></span><span class="p"><span class="idiff right">:</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="337" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="335" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
335
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC335" class="line" lang="python">        <span class="k" style="font-weight: bold"><span class="idiff left">if</span></span><span class="idiff"> </span><span class="s" style="color: #d14"><span class="idiff">"."</span></span><span class="idiff"> </span><span class="ow" style="font-weight: bold"><span class="idiff">in</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">value</span></span><span class="p"><span class="idiff">:</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># Ok, we *do* have decimals to crop</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="337" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="336" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
336
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC336" class="line" lang="python">        <span class="idiff left">    </span><span class="n" style="color: #333"><span class="idiff">diff</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">vallen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">-</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff right">fieldsize</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="337" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
337
</td>
<td class="diff-line-num new_line" data-linenumber="337" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
337
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC337" class="line" lang="python">            <span class="n" style="color: #333">declen</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">len</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">split</span><span class="p">(</span><span class="s" style="color: #d14">"."</span><span class="p">)[</span><span class="mi" style="color: #099">1</span><span class="p">])</span>  <span class="c" style="color: #998; font-style: italic"># length of decimals</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
338
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC338" class="line" lang="python">        <span class="k" style="font-weight: bold"><span class="idiff left">else</span></span><span class="p"><span class="idiff right">:</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="339" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
339
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC339" class="line" lang="python">            <span class="n" style="color: #333"><span class="idiff left">declen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="mi" style="color: #099"><span class="idiff right">0</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="340" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
340
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC340" class="line" lang="python">        <span class="n" style="color: #333"><span class="idiff left">croplen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="nb" style="color: #0086b3"><span class="idiff">min</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333"><span class="idiff">declen</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">diff</span></span><span class="p"><span class="idiff">)</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># Never round above the decimal point</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="341" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
341
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC341" class="line" lang="python">        <span class="n" style="color: #333"><span class="idiff left">roundlen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">declen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">-</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">croplen</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># How many digits we round to</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="342" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
342
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC342" class="line" lang="python">        <span class="n" style="color: #333"><span class="idiff left">newvalue</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="nb" style="color: #0086b3"><span class="idiff">str</span></span><span class="p"><span class="idiff">(</span></span><span class="nb" style="color: #0086b3"><span class="idiff">round</span></span><span class="p"><span class="idiff">(</span></span><span class="nb" style="color: #0086b3"><span class="idiff">float</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333"><span class="idiff">value</span></span><span class="p"><span class="idiff">),</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">roundlen</span></span><span class="p"><span class="idiff right">)</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="343" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
343
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC343" class="line" lang="python">        <span class="n" style="color: #333"><span class="idiff left">splitted</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">newvalue</span></span><span class="o" style="font-weight: bold"><span class="idiff">.</span></span><span class="n" style="color: #333"><span class="idiff">split</span></span><span class="p"><span class="idiff">(</span></span><span class="s" style="color: #d14"><span class="idiff">"."</span></span><span class="p"><span class="idiff">)</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># If this fails something went wrong</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="344" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
344
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC344" class="line" lang="python">        <span class="n" style="color: #333"><span class="idiff left">declen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="nb" style="color: #0086b3"><span class="idiff">len</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333"><span class="idiff">splitted</span></span><span class="p"><span class="idiff">[</span></span><span class="mi" style="color: #099"><span class="idiff">1</span></span><span class="p"><span class="idiff right">])</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="345" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
345
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC345" class="line" lang="python">        <span class="k" style="font-weight: bold"><span class="idiff left">if</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">roundlen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">==</span></span><span class="idiff"> </span><span class="mi" style="color: #099"><span class="idiff">0</span></span><span class="p"><span class="idiff">:</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># if rounding all the decimals don't display .0</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="346" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
346
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC346" class="line" lang="python">            <span class="c" style="color: #998; font-style: italic"><span class="idiff left right"># but do display the point, to show that there is more beyond</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="347" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
347
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC347" class="line" lang="python">            <span class="n" style="color: #333"><span class="idiff left">newvalue</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">splitted</span></span><span class="p"><span class="idiff">[</span></span><span class="mi" style="color: #099"><span class="idiff">0</span></span><span class="p"><span class="idiff">]</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">+</span></span><span class="idiff"> </span><span class="s" style="color: #d14"><span class="idiff right">"."</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="348" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
348
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC348" class="line" lang="python">        <span class="k" style="font-weight: bold"><span class="idiff left">elif</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">roundlen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">></span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">declen</span></span><span class="p"><span class="idiff">:</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># some zeros have been cropped, fix that</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="349" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
349
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC349" class="line" lang="python">        <span class="idiff left">    </span><span class="n" style="color: #333"><span class="idiff">padcount</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">roundlen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">-</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff right">declen</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="350" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
350
</td>
<td class="diff-line-num new_line old" data-linenumber="338" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC350" class="line" lang="python">            <span class="n" style="color: #333">newvalue</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333"><span class="idiff left">newvalue</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">+</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="s" style="color: #d14"><span class="idiff">"0"</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">*</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">padcount</span></span><span class="p"><span class="idiff right">)</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="338" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
338
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC338" class="line" lang="python">        <span class="idiff left">    </span><span class="n" style="color: #333"><span class="idiff">croplen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="nb" style="color: #0086b3"><span class="idiff">min</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333"><span class="idiff">declen</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">diff</span></span><span class="p"><span class="idiff">)</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># Never round above the decimal point</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="339" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
339
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC339" class="line" lang="python">            <span class="n" style="color: #333"><span class="idiff left">roundlen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">declen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">-</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">croplen</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># How many digits we round to</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="340" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
340
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC340" class="line" lang="python">        <span class="idiff left">    </span><span class="n" style="color: #333"><span class="idiff">newvalue</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="nb" style="color: #0086b3"><span class="idiff">str</span></span><span class="p"><span class="idiff">(</span></span><span class="nb" style="color: #0086b3"><span class="idiff">round</span></span><span class="p"><span class="idiff">(</span></span><span class="nb" style="color: #0086b3"><span class="idiff">float</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333"><span class="idiff">value</span></span><span class="p"><span class="idiff">),</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">roundlen</span></span><span class="p"><span class="idiff right">))</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="341" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
341
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC341" class="line" lang="python">        <span class="idiff left">    </span><span class="n" style="color: #333"><span class="idiff">splitted</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">newvalue</span></span><span class="o" style="font-weight: bold"><span class="idiff">.</span></span><span class="n" style="color: #333"><span class="idiff">split</span></span><span class="p"><span class="idiff">(</span></span><span class="s" style="color: #d14"><span class="idiff">"."</span></span><span class="p"><span class="idiff">)</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># This should never fail</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="342" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
342
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC342" class="line" lang="python">        <span class="idiff left">    </span><span class="n" style="color: #333"><span class="idiff">declen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="nb" style="color: #0086b3"><span class="idiff">len</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333"><span class="idiff">splitted</span></span><span class="p"><span class="idiff">[</span></span><span class="mi" style="color: #099"><span class="idiff">1</span></span><span class="p"><span class="idiff right">]</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="343" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
343
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC343" class="line" lang="python">        <span class="idiff left">    </span><span class="k" style="font-weight: bold"><span class="idiff">if</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">roundlen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">==</span></span><span class="idiff"> </span><span class="mi" style="color: #099"><span class="idiff">0</span></span><span class="p"><span class="idiff">:</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># if rounding all the decimals don't display .0</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="344" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
344
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC344" class="line" lang="python">        <span class="idiff left">        </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># but do display the point, to show that there is more beyond</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="345" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
345
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC345" class="line" lang="python">        <span class="idiff left">        </span><span class="n" style="color: #333"><span class="idiff">newvalue</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">splitted</span></span><span class="p"><span class="idiff">[</span></span><span class="mi" style="color: #099"><span class="idiff">0</span></span><span class="p"><span class="idiff">]</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">+</span></span><span class="idiff"> </span><span class="s" style="color: #d14"><span class="idiff right">"."</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="346" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
346
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC346" class="line" lang="python">            <span class="k" style="font-weight: bold"><span class="idiff left">elif</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">roundlen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">></span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">declen</span></span><span class="p"><span class="idiff">:</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># some zeros have been cropped, fix that</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="347" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
347
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC347" class="line" lang="python">            <span class="idiff left">    </span><span class="n" style="color: #333"><span class="idiff">padcount</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">roundlen</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">-</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff right">declen</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="348" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
348
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC348" class="line" lang="python">        <span class="idiff left">        </span><span class="n" style="color: #333"><span class="idiff">newvalue</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">=</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">newvalue</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">+</span></span><span class="idiff"> </span><span class="p"><span class="idiff">(</span></span><span class="s" style="color: #d14"><span class="idiff">"0"</span></span><span class="idiff"> </span><span class="o" style="font-weight: bold"><span class="idiff">*</span></span><span class="idiff"> </span><span class="n" style="color: #333"><span class="idiff">padcount</span></span><span class="p"><span class="idiff right">)</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="349" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
349
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC349" class="line" lang="python">        <span class="k" style="font-weight: bold"><span class="idiff left">else</span></span><span class="p"><span class="idiff">:</span></span><span class="idiff">  </span><span class="c" style="color: #998; font-style: italic"><span class="idiff right"># No decimals, nothing we can crop</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="351" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="350" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
350
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC350" class="line" lang="python">            <span class="n" style="color: #333">newvalue</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333"><span class="idiff left right">value</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="351" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
351
</td>
<td class="diff-line-num new_line" data-linenumber="351" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
351
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC351" class="line" lang="python">    <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">newvalue</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="352" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
352
</td>
<td class="diff-line-num new_line" data-linenumber="352" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
352
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC352" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="353" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
353
</td>
<td class="diff-line-num new_line" data-linenumber="353" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
353
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC353" class="line" lang="python"></span>
</pre>
</td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px">
<p style="color: #777; font-size: small">

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/52529a0256ce515474ec628eeeae6f9465e2fd6a">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/52529a0256ce515474ec628eeeae6f9465e2fd6a"}}</script>
</p>
</div>
</body>
</html>