From ff8e49916b4a53ab8f8e3a442d983a23d9816b89 Mon Sep 17 00:00:00 2001 From: Shichao Wu Date: Mon, 12 Aug 2024 16:56:49 +0100 Subject: [PATCH] remove readfp, use read_file instead (#4852) --- pycbc/types/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycbc/types/config.py b/pycbc/types/config.py index c690c8f4906..cdbf67bff95 100644 --- a/pycbc/types/config.py +++ b/pycbc/types/config.py @@ -49,7 +49,7 @@ def __deepcopy__(self, memo): self.write(config_string) config_string.seek(0) new_config = self.__class__() - new_config.readfp(config_string) + new_config.read_file(config_string) return new_config