From e3060529a566b2f0c4691b3686b848ffb479a627 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 15 Jul 2017 22:50:59 +0200 Subject: [PATCH] Move from deprecated readfp to read_file --- vdirsyncer/cli/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/cli/config.py b/vdirsyncer/cli/config.py index 893c42d..87296d9 100644 --- a/vdirsyncer/cli/config.py +++ b/vdirsyncer/cli/config.py @@ -91,7 +91,7 @@ class _ConfigReader: def __init__(self, f): self._file = f self._parser = c = RawConfigParser() - c.readfp(f) + c.read_file(f) self._seen_names = set() self._general = {}