Skip to content

Commit df68d75

Browse files
committed
Make compatible with Cliff (1.5.2)
The most recent version of cliff changes the way formatters work. This temporarily disables the custom formatter to get the gate working again. Partial-Bug: #1265926 Change-Id: Id0fe9ca3ddf0326a88055f8767de4cbe4cadb950
1 parent 2026ffd commit df68d75

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

neutronclient/neutron/v2_0/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,11 @@ class NeutronCommand(command.OpenStackCommand):
341341

342342
def __init__(self, app, app_args):
343343
super(NeutronCommand, self).__init__(app, app_args)
344-
if hasattr(self, 'formatters'):
345-
self.formatters['table'] = TableFormater()
344+
# NOTE(markmcclain): This is no longer supported in cliff version 1.5.2
345+
# see https://bugs.launchpad.net/python-neutronclient/+bug/1265926
346+
347+
#if hasattr(self, 'formatters'):
348+
#self.formatters['table'] = TableFormater()
346349

347350
def get_client(self):
348351
return self.app.client_manager.neutron

0 commit comments

Comments
 (0)