X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=juju%2Fplacement.py;h=6f91aed0a83f131e789b89392ce4e1f587cd0e22;hb=0eba58d4267134e7f36665cb6bc481834abb7f9c;hp=62cd5705902e833c319d5279aaa72190354e621e;hpb=8ffeaa57dd88940c1b21028fbee3fc17dae72d5e;p=osm%2FN2VC.git diff --git a/juju/placement.py b/juju/placement.py index 62cd570..6f91aed 100644 --- a/juju/placement.py +++ b/juju/placement.py @@ -6,9 +6,10 @@ # module should be deprecated. # +from .client import client + MACHINE_SCOPE = "#" -from .client import client def parse(directive): """ @@ -17,7 +18,7 @@ def parse(directive): back over the websocket API. """ - if directive == "": + if not directive: # Handle null case return None