graphics/DebugDataConsumer.py
changeset 1736 7e61baa047f0
parent 1730 64d8f52bc8c8
child 1737 a39c2918c015
--- a/graphics/DebugDataConsumer.py	Mon Aug 14 22:30:41 2017 +0300
+++ b/graphics/DebugDataConsumer.py	Mon Aug 14 23:27:15 2017 +0300
@@ -36,6 +36,7 @@
 # Date corresponding to Epoch (1970 January the first)
 DATE_ORIGIN = datetime.datetime(1970, 1, 1)
 
+
 def get_microseconds(value):
     """
     Function converting time duration expressed in day, second and microseconds
@@ -48,6 +49,7 @@
                  value.microseconds)
     return
 
+
 def generate_time(value):
     """
     Function converting time duration expressed in day, second and microseconds
@@ -90,6 +92,7 @@
 
     return data
 
+
 def generate_date(value):
     """
     Function converting time duration expressed in day, second and microseconds
@@ -99,6 +102,7 @@
     """
     return (DATE_ORIGIN + value).strftime("DATE#%Y-%m-%d")
 
+
 def generate_datetime(value):
     """
     Function converting time duration expressed in day, second and microseconds
@@ -108,6 +112,7 @@
     """
     return (DATE_ORIGIN + value).strftime("DT#%Y-%m-%d-%H:%M:%S.%f")
 
+
 def generate_timeofday(value):
     """
     Function converting time duration expressed in day, second and microseconds
@@ -147,13 +152,13 @@
 #                            Debug Data Consumer Class
 #-------------------------------------------------------------------------------
 
-"""
-Class that implements an element that consumes debug values
-Value update can be inhibited during the time the associated Debug Viewer is
-refreshing
-"""
 
 class DebugDataConsumer:
+    """
+    Class that implements an element that consumes debug values
+    Value update can be inhibited during the time the associated Debug Viewer is
+    refreshing
+    """
 
     def __init__(self):
         """