*** storage_server.py Wed Apr 19 11:56:50 2006 --- /tmp/storage_server.py Wed Apr 19 11:56:14 2006 *************** *** 102,106 **** if not command_code: raise ClientError('EOF from client') ! handler = getattr(self, 'handle_%s' % command_code) handler(s) --- 102,108 ---- if not command_code: raise ClientError('EOF from client') ! handler = getattr(self, 'handle_%s' % command_code, None) ! if handler is None: ! raise ClientError('No such command code: %r' % command_code) handler(s)