mirror of https://github.com/apache/cloudstack.git
- CLODSTACK-3229: Adds missing is_blank function to s3xen
This commit is contained in:
parent
5e3b751633
commit
1cc98ee7ae
|
|
@ -78,6 +78,11 @@ def optional_str_value(value, default):
|
|||
return default
|
||||
|
||||
|
||||
def is_blank(value):
|
||||
|
||||
return not is_not_blank(value)
|
||||
|
||||
|
||||
def is_not_blank(value):
|
||||
|
||||
if to_none(value) is None or not isinstance(value, basestring):
|
||||
|
|
|
|||
Loading…
Reference in New Issue