Revert "Remove vendored libjuju"
[osm/N2VC.git] / modules / libjuju / examples / livemodel.py
index a15e9f7..1b10ac9 100644 (file)
@@ -6,8 +6,6 @@ This example:
 3. Runs forever (kill with Ctrl-C)
 
 """
-import asyncio
-
 from juju.model import Model
 from juju import loop
 
@@ -21,6 +19,7 @@ async def on_model_change(delta, old, new, model):
 
 async def watch_model():
     model = Model()
+    # connect to current model with current user, per Juju CLI
     await model.connect()
 
     model.add_observer(on_model_change)