summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunboli <junbo85.li@gmail.com>2017-06-30 11:13:03 +0800
committerjunbo.li <junbo85.li@gmail.com>2017-06-30 04:10:23 +0000
commita87622ead5b3bc3dc2573aae134fb8a3971861eb (patch)
tree9c28df1caef2f65ac21ba1f3525e024225e42aa1
parentb910f5bea33cbccca25b008b3b03dc5dce27245a (diff)
downloadpython-cinderclient-a87622ead5b3bc3dc2573aae134fb8a3971861eb.tar.gz
Fix support for Unicode value filters
Cinder supports Unicode value filters for API get-pools, therefore, Here needs to support Unicode value filters as well. Change-Id: I51df61f9465d84c408fc057443a37834c453de41 Closes-Bug: #1701427
-rw-r--r--cinderclient/v3/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py
index f8c0570..94ee80a 100644
--- a/cinderclient/v3/shell.py
+++ b/cinderclient/v3/shell.py
@@ -139,7 +139,7 @@ def do_backup_list(cs, args):
action='store_true',
help='Show detailed information about pools.')
@utils.arg('--filters',
- type=str,
+ type=six.text_type,
nargs='*',
start_version='3.33',
metavar='<key=value>',