Skip to content

Commit

Permalink
Fix python 2/3 issue in check_file_location, fixes #105 (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
pabrahamsson authored and oybed committed Feb 7, 2019
1 parent ec03428 commit 1f109c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/openshift-applier/filter_plugins/applier-filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def check_file_location(path):
if (not path_status):
try:
url_status = urlopen(path)
except ValueError:
except (IOError,ValueError):
# Must be a pre-loaded template, nothing to do
return return_vals

Expand Down

0 comments on commit 1f109c7

Please sign in to comment.