cleanup string
Change-Id: I5df26a59aa1437777f175f46fd24e59b903e53a2
This commit is contained in:
parent
b4bc985324
commit
d7710ef5d0
|
@ -57,6 +57,6 @@ def is_valid(value):
|
|||
except (ValueError, TypeError):
|
||||
if not isinstance(value, six.string_types) or not value:
|
||||
return False
|
||||
warnings.warn('Invalid uuid. To ensure interoperability, identifiers'
|
||||
warnings.warn('Invalid uuid. To ensure interoperability, identifiers '
|
||||
'should be a valid uuid.')
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue