X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=juju%2Fplacement.py;h=6f91aed0a83f131e789b89392ce4e1f587cd0e22;hb=5ff1c23a9ce16a3179537d75a80f9e80869f0431;hp=62cd5705902e833c319d5279aaa72190354e621e;hpb=0056d3f87102e50a1c35c05bdfa25124c387440f;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