X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2Frmr%2Frmr.py;h=8c9ff5a4601b4413cf4cbfd1c15ade21e771f108;hb=refs%2Fchanges%2F53%2F1053%2F1;hp=00f6e715d07660ac203070cb46875a78561609dd;hpb=fa09c30e9450c45853311c6f07a621e1b9218ff0;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/rmr/rmr.py b/src/bindings/rmr-python/rmr/rmr.py index 00f6e71..8c9ff5a 100644 --- a/src/bindings/rmr-python/rmr/rmr.py +++ b/src/bindings/rmr-python/rmr/rmr.py @@ -69,7 +69,7 @@ def _get_mapping_dict(cache={}): RMR_ERR_TIMEOUT 12 message processing call timed out RMR_ERR_UNSET 13 the message hasn't been populated with a transport buffer RMR_ERR_TRUNC 14 received message likely truncated - RMR_ERR_INITFAILED 15 initialisation of something (probably message) failed + RMR_ERR_INITFAILED 15 initialization of something (probably message) failed """ if cache: @@ -105,11 +105,9 @@ _RCONST = _get_constants() # TODO: Are there others that will be useful? RMR_MAX_RCV_BYTES = _RCONST["RMR_MAX_RCV_BYTES"] - -RMRFL_NONE = _RCONST.get("RMRFL_MTCALL", 0x02) # initialisation flags +RMRFL_MTCALL = _RCONST.get("RMRFL_MTCALL", 0x02) # initialization flags RMRFL_NONE = _RCONST.get("RMRFL_NONE", 0x0) - -RMR_OK = _RCONST["RMR_OK"] # useful state constants +RMR_OK = _RCONST["RMR_OK"] # useful state constants RMR_ERR_TIMEOUT = _RCONST["RMR_ERR_TIMEOUT"] RMR_ERR_RETRY = _RCONST["RMR_ERR_RETRY"]