diff options
Diffstat (limited to 'designate/manage/tlds.py')
-rw-r--r-- | designate/manage/tlds.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/designate/manage/tlds.py b/designate/manage/tlds.py index faf9533a..bb096ade 100644 --- a/designate/manage/tlds.py +++ b/designate/manage/tlds.py @@ -14,7 +14,11 @@ # under the License. import csv import os + +from oslo.config import cfg + from designate import exceptions +from designate import rpc from designate.central import rpcapi as central_rpcapi from designate.openstack.common import log as logging from designate.manage import base @@ -49,8 +53,9 @@ class TLDCommands(base.Commands): InvalidLine - This occurs if the line contains more than 2 fields. """ - def __init__(self,): + def __init__(self): super(TLDCommands, self).__init__() + rpc.init(cfg.CONF) self.central_api = central_rpcapi.CentralAPI() # The dictionary function __str__() does not list the fields in any |