pyxecm 1.3.0__py3-none-any.whl → 1.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyxecm might be problematic. Click here for more details.

pyxecm/customizer/sap.py CHANGED
@@ -32,28 +32,28 @@ call: Calls and RFC based on its name and passes parameters.
32
32
  """
33
33
 
34
34
  __author__ = "Dr. Marc Diefenbruch"
35
- __copyright__ = "Copyright 2023, OpenText"
35
+ __copyright__ = "Copyright 2024, OpenText"
36
36
  __credits__ = ["Kai-Philip Gatzweiler"]
37
37
  __maintainer__ = "Dr. Marc Diefenbruch"
38
38
  __email__ = "mdiefenb@opentext.com"
39
39
 
40
40
  import logging
41
41
 
42
+ logger = logging.getLogger("pyxecm.customizer.sap")
43
+
42
44
  try:
43
45
  import pyrfc
44
46
 
45
47
  _has_pyrfc = True
46
48
 
47
49
  except ModuleNotFoundError as module_exception:
48
- logging.error("pyrfc not installed, SAP integration impatcted")
50
+ logger.error("pyrfc not installed, SAP integration impacted")
49
51
  _has_pyrfc = False
50
52
 
51
53
  except ImportError as import_exception:
52
- logging.error("pyrfc could not be loaded, SAP integration impatcted")
54
+ logger.error("pyrfc could not be loaded, SAP integration impacted")
53
55
  _has_pyrfc = False
54
56
 
55
- logger = logging.getLogger("pyxecm.customizer.sap")
56
-
57
57
 
58
58
  class SAP(object):
59
59
  """Used to implement Remote Function Calls (RFC) to SAP S/4HANA"""