<!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>
Eric S. Raymond pushed to branch master
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/30c20c48a8f54c079627926fd60bb29eaf9bb612">30c20c48</a></strong>
<div>
<span>by Eric S. Raymond</span>
<i>at 2016-08-11T14:17:59-04:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap">Fix STR_CLASS undefined error.
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#diff-0" style="text-decoration: none">
ntpstats/ntpstats.py
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="diff-0">
<a href="https://gitlab.com/NTPsec/ntpsec/commit/30c20c48a8f54c079627926fd60bb29eaf9bb612#diff-0"><strong>ntpstats/ntpstats.py</strong></a>
<hr>
<table class="code white" style="-premailer-cellpadding: 0; -premailer-cellspacing: 0; -premailer-width: 100%; background: #fff; border: none; border-collapse: separate; color: #333; font-family: monospace; margin: 0; padding: 0; width: 100%" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="">
<td class=" diff-line-num old_line unfold js-unfold" data-linenumber="264" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
...
</td>
<td class=" diff-line-num new_line unfold js-unfold" data-linenumber="264" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
...
</td>
<td class="line_content match" style="background: #fafafa; border: none; color: rgba(0,0,0,0.3); display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#fafafa">@@ -264,7 +264,7 @@ def isotime(s):</td>

</tr>

<tr class="line_holder" id="2a14b3d87961298b71c03f68f2c1656139afaff6_264_264">
<td class="diff-line-num old_line" data-linenumber="264" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
264
</td>
<td class="diff-line-num new_line" data-linenumber="264" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
264
</td>
<td class="line_content noteable_line" style="background: #fff; border: none; color: #333; display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#fff"> <span id="LC264" class="line">        <span class="n" style="color: #333">msec</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">s</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">date</span></span>
</td>
</tr>

<tr class="line_holder" id="2a14b3d87961298b71c03f68f2c1656139afaff6_265_265">
<td class="diff-line-num old_line" data-linenumber="265" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
265
</td>
<td class="diff-line-num new_line" data-linenumber="265" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
265
</td>
<td class="line_content noteable_line" style="background: #fff; border: none; color: #333; display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#fff"> <span id="LC265" class="line">        <span class="n" style="color: #333">date</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">time</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">strftime</span><span class="p">(</span><span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">Y-</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">m-</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">dT</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">H:</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">M:</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">S"</span><span class="p">,</span> <span class="n" style="color: #333">time</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">localtime</span><span class="p">(</span><span class="n" style="color: #333">s</span><span class="p">))</span></span>
</td>
</tr>

<tr class="line_holder" id="2a14b3d87961298b71c03f68f2c1656139afaff6_266_266">
<td class="diff-line-num old_line" data-linenumber="266" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
266
</td>
<td class="diff-line-num new_line" data-linenumber="266" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
266
</td>
<td class="line_content noteable_line" style="background: #fff; border: none; color: #333; display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#fff"> <span id="LC266" class="line">        <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">date</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="nb" style="color: #0086b3">repr</span><span class="p">(</span><span class="n" style="color: #333">msec</span><span class="p">)[</span><span class="mi" style="color: #099">3</span><span class="p">:]</span></span>
</td>
</tr>

<tr class="line_holder old" id="2a14b3d87961298b71c03f68f2c1656139afaff6_267_267">
<td class="diff-line-num old old_line" data-linenumber="267" style="background: #f9d7dc; border-color: #fac5cd; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f9d7dc">
267
</td>
<td class="diff-line-num new_line old" data-linenumber="267" style="background: #f9d7dc; border-color: #fac5cd; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="background: #fbe9eb; border: none; color: #333; display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#fbe9eb"> <span id="LC267" class="line">    <span class="k" style="font-weight: bold">elif</span> <span class="nb" style="color: #0086b3">isinstance</span><span class="p">(</span><span class="n" style="color: #333">s</span><span class="p">,</span> <span class="n" style="color: #333"><span class="idiff left" style="background: #fac5cd">STR_CLASS</span></span><span class="p"><span class="idiff right" style="background: #fac5cd">)</span>:</span></span>
</td>
</tr>

<tr class="line_holder new" id="2a14b3d87961298b71c03f68f2c1656139afaff6_268_267">
<td class="diff-line-num new old_line" data-linenumber="268" style="background: #ddfbe6; border-color: #c7f0d2; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="267" style="background: #ddfbe6; border-color: #c7f0d2; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#ddfbe6">
267
</td>
<td class="line_content new noteable_line" style="background: #ecfdf0; border: none; color: #333; display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#ecfdf0"> <span id="LC267" class="line">    <span class="k" style="font-weight: bold">elif</span> <span class="nb" style="color: #0086b3">isinstance</span><span class="p">(</span><span class="n" style="color: #333">s</span><span class="p">,</span> <span class="nb" style="color: #0086b3"><span class="idiff left" style="background: #c7f0d2">str</span></span><span class="p"><span class="idiff" style="background: #c7f0d2">)</span></span><span class="idiff" style="background: #c7f0d2"> </span><span class="ow" style="font-weight: bold"><span class="idiff" style="background: #c7f0d2">or</span></span><span class="idiff" style="background: #c7f0d2"> </span><span class="nb" style="color: #0086b3"><span class="idiff" style="background: #c7f0d2">isinstance</span></span><span class="p"><span class="idiff" style="background: #c7f0d2">(</span></span><span class="n" style="color: #333"><span class="idiff" style="background: #c7f0d2">s</span></span><span class="p"><span class="idiff" style="background: #c7f0d2">,</span></span><span class="idiff" style="background: #c7f0d2"> </span><span class="nb" style="color: #0086b3"><span class="idiff" style="background: #c7f0d2">unicode</span></span><span class="p"><span class="idiff right" style="background: #c7f0d2">):</span>:</span></span>
</td>
</tr>

<tr class="line_holder" id="2a14b3d87961298b71c03f68f2c1656139afaff6_268_268">
<td class="diff-line-num old_line" data-linenumber="268" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
268
</td>
<td class="diff-line-num new_line" data-linenumber="268" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
268
</td>
<td class="line_content noteable_line" style="background: #fff; border: none; color: #333; display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#fff"> <span id="LC268" class="line">        <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">s</span><span class="p">[</span><span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">1</span><span class="p">]</span> <span class="o" style="font-weight: bold">==</span> <span class="s" style="color: #d14">"Z"</span><span class="p">:</span></span>
</td>
</tr>

<tr class="line_holder" id="2a14b3d87961298b71c03f68f2c1656139afaff6_269_269">
<td class="diff-line-num old_line" data-linenumber="269" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
269
</td>
<td class="diff-line-num new_line" data-linenumber="269" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
269
</td>
<td class="line_content noteable_line" style="background: #fff; border: none; color: #333; display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#fff"> <span id="LC269" class="line">            <span class="n" style="color: #333">s</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">s</span><span class="p">[:</span><span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">1</span><span class="p">]</span></span>
</td>
</tr>

<tr class="line_holder" id="2a14b3d87961298b71c03f68f2c1656139afaff6_270_270">
<td class="diff-line-num old_line" data-linenumber="270" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
270
</td>
<td class="diff-line-num new_line" data-linenumber="270" style="background: #fafafa; border-color: #f0f0f0; border-right-width: 1px; border-style: none solid none none; color: rgba(0,0,0,0.3); font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; max-width: 50px; min-width: 35px; padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
270
</td>
<td class="line_content noteable_line" style="background: #fff; border: none; color: #333; display: block; font-family: monospace; font-size: 13px; line-height: 1.5; margin: 0; padding: 0 0.5em; white-space: pre" bgcolor="#fff"> <span id="LC270" class="line">        <span class="k" style="font-weight: bold">if</span> <span class="s" style="color: #d14">"."</span> <span class="ow" style="font-weight: bold">in</span> <span class="n" style="color: #333">s</span><span class="p">:</span></span>
</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/30c20c48a8f54c079627926fd60bb29eaf9bb612">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/30c20c48a8f54c079627926fd60bb29eaf9bb612"}}</script>
</p>
</div>
</body>
</html>