diff --git a/RainEagle/EagleClass.py b/RainEagle/EagleClass.py index 984d25b..41be60d 100644 --- a/RainEagle/EagleClass.py +++ b/RainEagle/EagleClass.py @@ -20,9 +20,7 @@ from warnings import warn from pprint import pprint -api_arg_format = { - -} +# api_arg_format = { } __all__ = ['Eagle', 'RainEagleResponseError', 'to_epoch_1970, to_epoch_2000'] @@ -61,7 +59,7 @@ def _et2d(et) : converts an ETree to a Dict Tree lists are created for duplicate tag - if there are multiple XML of the name name + if there are multiple XML of the same name an list array is used attrib tags are converted to "tag_name" + "attrib_name" @@ -98,7 +96,7 @@ def _et2d(et) : return d -def twos_comp(val, bits=32): +def _twos_comp(val, bits=32): """compute the 2's compliment of int value val""" if( (val&(1<<(bits-1))) != 0 ): val = val - (1<