use ConfigParser instead of SafeConfigParser
This commit is contained in:
parent
53ccab0f0a
commit
3cbeaa887f
@ -287,7 +287,7 @@ def weed_snapshots(fslist, snapshots, config, failed_snapshots):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
config = configparser.SafeConfigParser()
|
config = configparser.ConfigParser()
|
||||||
config.read('/etc/zsnapper.ini')
|
config.read('/etc/zsnapper.ini')
|
||||||
ret = RET_CODES['SUCCESS']
|
ret = RET_CODES['SUCCESS']
|
||||||
log = logging.getLogger(LOGGER)
|
log = logging.getLogger(LOGGER)
|
||||||
|
Loading…
Reference in New Issue
Block a user