Remove direct usage of the deprecated notifier location
Internally we should be using the new location and not the deprecated location wherever possible. This avoids emitting warnings messages on our own code, which is a dirty habit. Change-Id: Icc389e61613bc78e64083f0086f6f23aabd243d1
This commit is contained in:
@@ -428,4 +428,4 @@ def capture_failure():
|
||||
if not any(exc_info):
|
||||
raise RuntimeError("No active exception is being handled")
|
||||
else:
|
||||
yield Failure(exc_info=exc_info)
|
||||
yield failure.Failure(exc_info=exc_info)
|
||||
|
||||
Reference in New Issue
Block a user