diff --git a/.gitignore b/.gitignore index 4ed8ec8..e7f1861 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,6 @@ target/ # Operating system files .DS_Store + +# idea +.idea diff --git a/authorizenet/apicontractsv1.py b/authorizenet/apicontractsv1.py index c5eb3a0..87bd4a7 100644 --- a/authorizenet/apicontractsv1.py +++ b/authorizenet/apicontractsv1.py @@ -17,7 +17,7 @@ _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:6a124e8c-3f7c-11eb-bcdb-847beb3cc146') # Version of PyXB used to generate the bindings -_PyXBVersion = '1.2.5' +_PyXBVersion = '1.2.6' # Generated bindings are not compatible across PyXB versions if pyxb.__version__ != _PyXBVersion: raise pyxb.PyXBVersionError(_PyXBVersion) diff --git a/authorizenet/utility.py b/authorizenet/utility.py index 8dd9a9d..2b83de7 100644 --- a/authorizenet/utility.py +++ b/authorizenet/utility.py @@ -8,7 +8,7 @@ from ConfigParser import SafeConfigParser from ConfigParser import NoSectionError except ImportError: - from configparser import SafeConfigParser + from configparser import ConfigParser as SafeConfigParser from configparser import NoSectionError import os @@ -70,4 +70,4 @@ def getproperty(propertyname): if ( "null" == stringvalue): stringvalue = os.getenv(propertyname) - return stringvalue \ No newline at end of file + return stringvalue diff --git a/setup.py b/setup.py index 55449af..692b4a7 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ # your project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/requirements.html - install_requires=['pyxb==1.2.5', 'lxml==4.*', 'requests==2.*'], + install_requires=['PyXB-X==1.2.6.2', 'lxml==5.2.2', 'requests==2.*'], #install_requires=['nose'], #install_requires=['nosetests'], #install_requires=['mock'], diff --git a/tests/apitestbase.py b/tests/apitestbase.py index 630ac23..71f4abf 100644 --- a/tests/apitestbase.py +++ b/tests/apitestbase.py @@ -13,7 +13,7 @@ try: from ConfigParser import SafeConfigParser except ImportError: - from configparser import SafeConfigParser + from configparser import ConfigParser as SafeConfigParser from authorizenet import apicontractsv1, apicontrollersbase from authorizenet.utility import *
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: