comparison src/core/sat_main.py @ 1027:ee46515a12f2

core: fixed typo
author Goffi <goffi@goffi.org>
date Thu, 15 May 2014 20:25:52 +0200
parents 71fdc327b318
children 15f43b54d697
comparison
equal deleted inserted replaced
1026:71fdc327b318 1027:ee46515a12f2
92 try: 92 try:
93 self.bridge = DBusBridge() 93 self.bridge = DBusBridge()
94 except exceptions.BridgeInitError: 94 except exceptions.BridgeInitError:
95 log.error(u"Bridge can't be initialised, can't start SàT core") 95 log.error(u"Bridge can't be initialised, can't start SàT core")
96 sys.exit(1) 96 sys.exit(1)
97 self.bridge.register("getReady", lambda: self._initialized) 97 self.bridge.register("getReady", lambda: self._initialised)
98 self.bridge.register("getVersion", lambda: C.APP_VERSION) 98 self.bridge.register("getVersion", lambda: C.APP_VERSION)
99 self.bridge.register("getProfileName", self.memory.getProfileName) 99 self.bridge.register("getProfileName", self.memory.getProfileName)
100 self.bridge.register("getProfilesList", self.memory.getProfilesList) 100 self.bridge.register("getProfilesList", self.memory.getProfilesList)
101 self.bridge.register("getEntityData", lambda _jid, keys, profile: self.memory.getEntityData(jid.JID(_jid), keys, profile)) 101 self.bridge.register("getEntityData", lambda _jid, keys, profile: self.memory.getEntityData(jid.JID(_jid), keys, profile))
102 self.bridge.register("asyncCreateProfile", self.memory.asyncCreateProfile) 102 self.bridge.register("asyncCreateProfile", self.memory.asyncCreateProfile)