projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #63 from juju/feature/model_get_status
[osm/N2VC.git]
/
juju
/
constraints.py
diff --git
a/juju/constraints.py
b/juju/constraints.py
index
c551883
..
998862d
100644
(file)
--- a/
juju/constraints.py
+++ b/
juju/constraints.py
@@
-39,10
+39,7
@@
def parse(constraints):
and key value pairs joined by an '='.
"""
- if constraints is None:
- return None
-
- if constraints == "":
+ if not constraints:
return None
if type(constraints) is dict: