summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-25 22:30:38 +0100
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commitde265268da94e7ee7a6b3ada364a9d5346848022 (patch)
treefe7ea7c4b423e5fbed54b137d00160d2fe5c1e1a
parent388990bb42b618c4d364486b64c34605cf6a045b (diff)
downloadpoezio-de265268da94e7ee7a6b3ada364a9d5346848022.tar.gz
poezio-de265268da94e7ee7a6b3ada364a9d5346848022.tar.bz2
poezio-de265268da94e7ee7a6b3ada364a9d5346848022.tar.xz
poezio-de265268da94e7ee7a6b3ada364a9d5346848022.zip
fix: add back the remove_section() for Config
-rw-r--r--poezio/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/poezio/config.py b/poezio/config.py
index 89923eb2..fd3d8c83 100644
--- a/poezio/config.py
+++ b/poezio/config.py
@@ -245,6 +245,9 @@ class Config:
def add_section(self, *args, **kwargs):
return self.configparser.add_section(*args, **kwargs)
+ def remove_section(self, *args, **kwargs):
+ return self.configparser.remove_section(*args, **kwargs)
+
def get_by_tabname(self,
option,
tabname: str,