File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -261,11 +261,6 @@ def initialize_plugs(
261261 plug_instance : plug_type
262262 if plug_type in self ._unmanaged_plugs :
263263 plug_instance = self ._unmanaged_plugs [plug_type ]
264- try :
265- plug_instance .setUp ()
266- except Exception : # pylint: disable=broad-except
267- self .tear_down_plugs ()
268- raise
269264 else :
270265 # Create a logger for this plug. All plug loggers go under the 'plug'
271266 # sub-logger in the logger hierarchy.
@@ -304,7 +299,7 @@ def initialize_plugs(
304299 plug_logger .exception ('Exception instantiating plug type %s' , plug_type )
305300 self .tear_down_plugs ()
306301 raise
307- self .update_plug (plug_type , plug_instance )
302+ self .update_plug (plug_type , plug_instance )
308303 try :
309304 plug_instance .setUp ()
310305 except Exception : # pylint: disable=broad-except
You can’t perform that action at this time.
0 commit comments