diff --git a/test/probe/brain.py b/test/probe/brain.py index 791d974b56..bec97c78bc 100644 --- a/test/probe/brain.py +++ b/test/probe/brain.py @@ -19,6 +19,8 @@ from optparse import OptionParser from urlparse import urlparse import random +import six + from swift.common.manager import Manager from swift.common import utils, ring from swift.common.storage_policy import POLICIES @@ -62,10 +64,8 @@ def command(f): return f +@six.add_metaclass(meta_command) class BrainSplitter(object): - - __metaclass__ = meta_command - def __init__(self, url, token, container_name='test', object_name='test', server_type='container', policy=None): self.url = url