bridge constructor: replaced deprecated readfp
This commit is contained in:
parent
aa203d4a49
commit
13a4177c08
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue