-
Notifications
You must be signed in to change notification settings - Fork 0
Fix/halter multiplug instantiation #14
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
Changes from all commits
1eac119
db2329f
6f6460c
027926e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -261,11 +261,6 @@ def initialize_plugs( | |
| plug_instance: plug_type | ||
| if plug_type in self._unmanaged_plugs: | ||
| plug_instance = self._unmanaged_plugs[plug_type] | ||
| try: | ||
| plug_instance.setUp() | ||
| except Exception: # pylint: disable=broad-except | ||
| self.tear_down_plugs() | ||
| raise | ||
| else: | ||
| # Create a logger for this plug. All plug loggers go under the 'plug' | ||
| # sub-logger in the logger hierarchy. | ||
|
|
@@ -304,7 +299,7 @@ def initialize_plugs( | |
| plug_logger.exception('Exception instantiating plug type %s', plug_type) | ||
| self.tear_down_plugs() | ||
| raise | ||
| self.update_plug(plug_type, plug_instance) | ||
| self.update_plug(plug_type, plug_instance) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. imo i think the actual fix is to not call
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll try to implement when I've got more time :) |
||
| try: | ||
| plug_instance.setUp() | ||
| except Exception: # pylint: disable=broad-except | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.