[Zodb-checkins] CVS: StandaloneZODB/ZEO/zrpc - connection.py:1.1.2.2.2.3

Jeremy Hylton jeremy@zope.com
Mon, 29 Apr 2002 18:33:04 -0400


Update of /cvs-repository/StandaloneZODB/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv27061/zrpc

Modified Files:
      Tag: ZEO2-branch
	connection.py 
Log Message:
Reformat for readability.


=== StandaloneZODB/ZEO/zrpc/connection.py 1.1.2.2.2.2 => 1.1.2.2.2.3 ===
     def handle_request(self, msgid, flags, name, args):
         if not self.check_method(name):
-            raise ZRPCError("Invalid method name: %s on %s" % (name,
-                                                               `self.obj`))
+            msg = "Invalid method name: %s on %s" % (name, repr(self.obj))
+            raise ZRPCError(msg)
 
         meth = getattr(self.obj, name)
         try: