Fix a DeprecationWarning
SafeConfigParser is just a deprecated version of ConfigParser in python3, so use ConfigParser.
This commit is contained in:
parent
9ee2d46a32
commit
41a91d031f
@ -20,7 +20,7 @@ import os
|
|||||||
|
|
||||||
from pylorax.sysutils import joinpaths
|
from pylorax.sysutils import joinpaths
|
||||||
|
|
||||||
class ComposerConfig(configparser.SafeConfigParser):
|
class ComposerConfig(configparser.ConfigParser):
|
||||||
def get_default(self, section, option, default):
|
def get_default(self, section, option, default):
|
||||||
try:
|
try:
|
||||||
return self.get(section, option)
|
return self.get(section, option)
|
||||||
|
Loading…
Reference in New Issue
Block a user