From f5800f507d2e2cfa81bc3ddcb5597fc766e501e1 Mon Sep 17 00:00:00 2001 From: Shichao Wu Date: Mon, 12 Aug 2024 16:19:06 +0100 Subject: [PATCH] remove readfp, use read_file instead --- 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