onaplogging: Docstrings, refactor, type hinting
[logging-analytics.git] / pylog / onaplogging / utils / system.py
similarity index 90%
rename from pylog/onaplogging/utils.py
rename to pylog/onaplogging/utils/system.py
index 5c96b2d..cfe49a1 100644 (file)
 import sys
 
 
-def is_above_python_3_2():  # type: () -> bool
+def is_above_python_3_2():
+    # type: () -> bool
     """Check if code is running at least on Python 3.2 version.
 
     Returns:
         bool: True if it's at least 3.2 version, False otherwise
-
     """
     return sys.version_info >= (3, 2, 0, "final", 0)
 
 
-def is_above_python_2_7():  # type: () -> bool
+def is_above_python_2_7():
+    # type: () -> bool
     """Check if code is running at least on Python 2.7 version.
 
     Returns:
         bool: True if it's at least 2.7 version, False otherwise
-
     """
     return sys.version_info >= (2, 7, 0, "final", 0)