summaryrefslogtreecommitdiff
path: root/contrib/ntpshmviz
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntpshmviz')
-rwxr-xr-xcontrib/ntpshmviz2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/ntpshmviz b/contrib/ntpshmviz
index 7831bfa3..dab9ae0a 100755
--- a/contrib/ntpshmviz
+++ b/contrib/ntpshmviz
@@ -23,6 +23,7 @@ except:
gps_version = '3.18-dev'
+
class ntpOffset:
def __init__(self, stream):
# get the data
@@ -101,6 +102,7 @@ class ntpOffset:
self.line_counts[record[1]] += 1
stream.close()
+
if __name__ == "__main__":
if (len(sys.argv) >= 2):
if (sys.argv[1] == "-V" or sys.argv[1] == "--version"):