Changeset 1623
- Timestamp:
- 11/12/08 15:20:37 (2 months ago)
- Files:
-
- branches/0.4.7/lib/cxcore/cxcore/manager.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/0.4.7/lib/cxcore/cxcore/manager.py
r1618 r1623 62 62 return f 63 63 64 CP_VERSION = (0, 1)64 CP_VERSION = (0,2) 65 65 66 66 class BaseCoreService(log): … … 231 231 232 232 try: 233 if message["version"] <CP_VERSION:234 self.log("warning"," ancient protocol version %s.%s" % message["version"])233 if message["version"] != CP_VERSION: 234 self.log("warning","incompatible protocol version %s from address %s" % (message["version"],addr["from"])) 235 235 continue 236 message["kwarg"]["addr"] = addr237 236 except: 238 237 if message == "shutdown": … … 253 252 if self.public.has_key(target): 254 253 func = self.public[target] 254 import inspect 255 spec = inspect.getargspec(func) 256 if spec[1] or spec[2] or ('addr' in spec[0]): 257 message['kwarg']['addr'] = addr 255 258 if \ 256 259 (self.__func_acl and (target in self.__func_acl)) or \
