mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
- CLODSTACK-3229: Adds missing is_blank function to s3xen
This commit is contained in:
parent
bb95624708
commit
4b0582381f
@ -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…
x
Reference in New Issue
Block a user