Mercurial > libervia-backend
diff src/core/sat_main.py @ 2146:1bb9bf1b4150
core, frontends: getProfilesList renamed to profilesGetList + behaviour change:
- profilesGetList now handles clients and components boolean arguments, to filter profiles
- jp: added --clients and --components options to profile/list
- profilesGetList now returns sorted profiles
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 19:08:52 +0100 |
parents | 1d3f73e065e1 |
children | bca699faf416 |
line wrap: on
line diff
--- a/src/core/sat_main.py Sun Feb 12 18:59:10 2017 +0100 +++ b/src/core/sat_main.py Sun Feb 12 19:08:52 2017 +0100 @@ -76,7 +76,7 @@ self.bridge.register_method("getVersion", lambda: self.full_version) self.bridge.register_method("getFeatures", self.getFeatures) self.bridge.register_method("getProfileName", self.memory.getProfileName) - self.bridge.register_method("getProfilesList", self.memory.getProfilesList) + self.bridge.register_method("profilesListGet", self.memory.getProfilesList) self.bridge.register_method("getEntityData", lambda jid_, keys, profile: self.memory.getEntityData(jid.JID(jid_), keys, profile)) self.bridge.register_method("getEntitiesData", self.memory._getEntitiesData) self.bridge.register_method("profileCreate", self.memory.createProfile)