summaryrefslogtreecommitdiff
path: root/tooz/coordination.py
diff options
context:
space:
mode:
authorJoshua Harlow <jxharlow@godaddy.com>2016-12-20 13:37:59 -0500
committerJoshua Harlow <jxharlow@godaddy.com>2016-12-20 17:01:50 -0500
commit87e6d675811b46560aee68ae23af605ab94c15a1 (patch)
tree67eef17cae5c086040726141c633ece93c7dff4e /tooz/coordination.py
parentfe06e86247c34f38eb43fd7e29bbbcb8d633d4cb (diff)
downloadtooz-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-xtooz/coordination.py6
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):