Mercurial > libervia-backend
diff sat_frontends/tools/host_listener.py @ 2624:56f94936df1e
code style reformatting using black
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 27 Jun 2018 20:14:46 +0200 |
parents | 26edcf3a30eb |
children | 003b8b4b56a7 |
line wrap: on
line diff
--- a/sat_frontends/tools/host_listener.py Wed Jun 27 07:51:29 2018 +0200 +++ b/sat_frontends/tools/host_listener.py Wed Jun 27 20:14:46 2018 +0200 @@ -22,6 +22,7 @@ listeners = [] + def addListener(cb): """Add a listener which will be called when host is ready @@ -29,6 +30,7 @@ """ listeners.append(cb) + def callListeners(host): """Must be called by frontend when host is ready.