New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #3253 Cookbook generation failure missing file indicator #3255
Conversation
Please review and merge. |
I added this in f2b6e3b |
Let me know if you think this one is better, closing for now |
@karlnapf The crash happens earlier, when loading json. So it does not get to print the file name.
|
As discussed in irc, a try - except would be better |
@karlnapf I updated this one. |
|
||
translate_file = os.path.join(targetsDir, target) | ||
|
||
with open(translate_file) as tFile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this both Python 2 and 3 compatible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@karlnapf yes
Good then, can you squash the commits into a single one? Then fine to merge |
…ible file indicator.
@karlnapf squashed in latest PR update. |
Thanks |
Fixes shogun-toolbox#3253 Cookbook generation failure missing file indicator
This fixes #3253 Cookbook generation failure missing responsible file indicator.