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:
Joshua Harlow
2014-10-18 18:38:28 -07:00
parent b014fc7d48
commit 58f27fcd2d
8 changed files with 21 additions and 18 deletions

View File

@@ -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)