From 13a4177c084e70c52582d6d9c3829da3705a0124 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 14 Feb 2020 15:18:52 +0100 Subject: [PATCH] bridge constructor: replaced deprecated `readfp` --- sat/bridge/bridge_constructor/bridge_constructor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/bridge/bridge_constructor/bridge_constructor.py b/sat/bridge/bridge_constructor/bridge_constructor.py index 109f908e..ea6ba46d 100755 --- a/sat/bridge/bridge_constructor/bridge_constructor.py +++ b/sat/bridge/bridge_constructor/bridge_constructor.py @@ -124,7 +124,7 @@ class BridgeConstructor(object): args = self.parse_args() template_parser = Parser() try: - template_parser.readfp(args.template) + template_parser.read_file(args.template) except IOError: print("The template file doesn't exist or is not accessible") exit(1)