diff options
| author | Joshua Harlow <jxharlow@godaddy.com> | 2016-12-20 13:37:59 -0500 |
|---|---|---|
| committer | Joshua Harlow <jxharlow@godaddy.com> | 2016-12-20 17:01:50 -0500 |
| commit | 87e6d675811b46560aee68ae23af605ab94c15a1 (patch) | |
| tree | 67eef17cae5c086040726141c633ece93c7dff4e /tooz/coordination.py | |
| parent | fe06e86247c34f38eb43fd7e29bbbcb8d633d4cb (diff) | |
| download | tooz-87e6d675811b46560aee68ae23af605ab94c15a1.tar.gz | |
The 'moves.moved_class' function creates a new class
For now remove the usage of 'moves.moved_class' until
we can find a less disruptive way to move this class
around.
Change-Id: I8787f354a5096809f97a2249855cf7371076cc0c
Diffstat (limited to 'tooz/coordination.py')
| -rwxr-xr-x | tooz/coordination.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tooz/coordination.py b/tooz/coordination.py index 7f70a4e..5500141 100755 --- a/tooz/coordination.py +++ b/tooz/coordination.py @@ -21,7 +21,6 @@ import enum import logging import threading -from debtcollector import moves from oslo_utils import excutils from oslo_utils import netutils from oslo_utils import timeutils @@ -736,7 +735,10 @@ def get_coordinator(backend_url, member_id, return d -ToozError = moves.moved_class(tooz.ToozError, "ToozError", "tooz.coordination") +# TODO(harlowja): We'll have to figure out a way to remove this 'alias' at +# some point in the future (when we have a better way to tell people it has +# moved without messing up their exception catching hierarchy). +ToozError = tooz.ToozError class ToozDriverChosenPoorly(tooz.ToozError): |
