Skip to content

Commit 386cacd

Browse files
committed
Moving from SafeConfigParser to ConfigParser
1 parent 72be6a5 commit 386cacd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

authorizenet/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from ConfigParser import SafeConfigParser
99
from ConfigParser import NoSectionError
1010
except ImportError:
11-
from configparser import SafeConfigParser
11+
from configparser import ConfigParser as SafeConfigParser
1212
from configparser import NoSectionError
1313

1414
import os

tests/apitestbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
try:
1414
from ConfigParser import SafeConfigParser
1515
except ImportError:
16-
from configparser import SafeConfigParser
16+
from configparser import ConfigParser as SafeConfigParser
1717

1818
from authorizenet import apicontractsv1, apicontrollersbase
1919
from authorizenet.utility import *

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy