Correct except line in fifloader
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
2c197d520c
commit
a348198cdc
@ -74,7 +74,7 @@ def merge_inputs(inputs):
|
|||||||
try:
|
try:
|
||||||
with open(input, 'r') as inputfh:
|
with open(input, 'r') as inputfh:
|
||||||
data = json.load(inputfh)
|
data = json.load(inputfh)
|
||||||
except err:
|
except Exception as err:
|
||||||
print("Reading input file {} failed!".format(input))
|
print("Reading input file {} failed!".format(input))
|
||||||
sys.exit(str(err))
|
sys.exit(str(err))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user