diff options
| author | Mark McClain <mark.mcclain@dreamhost.com> | 2014-01-03 16:58:01 -0500 |
|---|---|---|
| committer | Mark McClain <mark.mcclain@dreamhost.com> | 2014-01-03 16:58:01 -0500 |
| commit | df68d75f6693a9d29b04deb07c119386541a5415 (patch) | |
| tree | 2495a8541ebdb5f7196fe39c983b3c0705b32699 | |
| parent | 2026ffdc6c82135b64b3ccd569a4a442e170ca53 (diff) | |
| download | python-neutronclient-2.3.3.tar.gz | |
Make compatible with Cliff (1.5.2)2.3.3
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
| -rw-r--r-- | neutronclient/neutron/v2_0/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/neutronclient/neutron/v2_0/__init__.py b/neutronclient/neutron/v2_0/__init__.py index b3f5d37..c9dbdf7 100644 --- a/neutronclient/neutron/v2_0/__init__.py +++ b/neutronclient/neutron/v2_0/__init__.py @@ -341,8 +341,11 @@ class NeutronCommand(command.OpenStackCommand): def __init__(self, app, app_args): super(NeutronCommand, self).__init__(app, app_args) - if hasattr(self, 'formatters'): - self.formatters['table'] = TableFormater() + # NOTE(markmcclain): This is no longer supported in cliff version 1.5.2 + # see https://bugs.launchpad.net/python-neutronclient/+bug/1265926 + + #if hasattr(self, 'formatters'): + #self.formatters['table'] = TableFormater() def get_client(self): return self.app.client_manager.neutron |
