mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
CI: chase Python deprecations in ConfigParser
This commit is contained in:
parent
36789d23fb
commit
b1f9d1334c
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ def get_tx_credentials():
|
|||
txconfig_name = os.path.expanduser("~/.transifexrc")
|
||||
try:
|
||||
with open(txconfig_name, "r") as f:
|
||||
parser = configparser.SafeConfigParser()
|
||||
parser.readfp(f)
|
||||
parser = configparser.ConfigParser()
|
||||
parser.read_file(f)
|
||||
|
||||
return parser.get("https://www.transifex.com", "password")
|
||||
except IOError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue