# HG changeset patch # User Goffi # Date 1581689932 -3600 # Node ID 560642ab1c103d7f9db906d14aa1d3835b9e2c98 # Parent 1cb232c9e8451641c4dbe4650dc1165e643e002a bridge constructor: replaced deprecated `readfp` diff -r 1cb232c9e845 -r 560642ab1c10 sat/bridge/bridge_constructor/bridge_constructor.py --- 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)