diff options
author | Gordon Chung <chungg@ca.ibm.com> | 2013-08-07 16:36:33 -0400 |
---|---|---|
committer | Gordon Chung <chungg@ca.ibm.com> | 2013-08-07 16:36:33 -0400 |
commit | 959e7fc797f368b9809ca2cde704ef0c32de0e70 (patch) | |
tree | c23fbe2b19c74f7ed20c4c9fbc867e54fa0d57a9 /pycadf/tag.py | |
parent | 7bf0f20abe7e721f28d9638c32e05e3e40d95356 (diff) | |
download | pycadf-959e7fc797f368b9809ca2cde704ef0c32de0e70.tar.gz |
- need to update attribute validation to test against basestring
instead of str
- drop use of openstack logger
Change-Id: I2167cf8e468c0e932c476238120d768e5d4d443f
Fixes: bug1209387
Diffstat (limited to 'pycadf/tag.py')
-rw-r--r-- | pycadf/tag.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pycadf/tag.py b/pycadf/tag.py index 2539978..fbe7532 100644 --- a/pycadf/tag.py +++ b/pycadf/tag.py @@ -29,6 +29,6 @@ def generate_name_value_tag(name, value): # TODO(mrutkows): validate any Tag's name?value= format def is_valid(value): - if not isinstance(value, str): + if not isinstance(value, basestring): raise TypeError return True |