summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/shell.py')
-rw-r--r--openstackclient/shell.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index bc88e1f1..1be298be 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -17,6 +17,7 @@
"""Command-line interface to the OpenStack APIs"""
import sys
+import warnings
from osc_lib.api import auth
from osc_lib.command import commandmanager
@@ -44,6 +45,10 @@ class OpenStackShell(shell.OpenStackShell):
# Assume TLS host certificate verification is enabled
self.verify = True
+ # ignore warnings from openstacksdk since our users can't do anything
+ # about them
+ warnings.filterwarnings('ignore', module='openstack')
+
def build_option_parser(self, description, version):
parser = super(OpenStackShell, self).build_option_parser(
description,