Skip to content

Fix crash when too_with_panel is empty#120

Merged
rhpvorderman merged 2 commits intogalaxyproject:masterfrom
jvanbraekel:fix-crash
Jan 9, 2019
Merged

Fix crash when too_with_panel is empty#120
rhpvorderman merged 2 commits intogalaxyproject:masterfrom
jvanbraekel:fix-crash

Conversation

@jvanbraekel
Copy link
Copy Markdown
Contributor

When tool_with_panel was empty and ToolSheedClient.get_repositories() was not it was crashing because tool_panel_section_id/label were not defined. Fix : Define them outside of the loop to match the use later inside the if condition.

Make a new branch/pull request because inside the other one there was a mysterious anoying sticky white space inserted.

When tool_with_panel is empty and ToolSheedClient.get_repositories() is not it was crashing because tool_panel_section_id/label were not defined. Fix : Define them outside of the loop to match the use later inside the if condition.
Copy link
Copy Markdown
Member

@bgruening bgruening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @jvanbraekel!

@rhpvorderman rhpvorderman merged commit 084f9c2 into galaxyproject:master Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants