changeset 3169:560642ab1c10

bridge constructor: replaced deprecated `readfp`
author Goffi <goffi@goffi.org>
date Fri, 14 Feb 2020 15:18:52 +0100
parents 1cb232c9e845
children 39d7327583e1
files sat/bridge/bridge_constructor/bridge_constructor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/bridge/bridge_constructor/bridge_constructor.py	Wed Feb 12 19:46:14 2020 +0100
+++ b/sat/bridge/bridge_constructor/bridge_constructor.py	Fri Feb 14 15:18:52 2020 +0100
@@ -124,7 +124,7 @@
         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)