[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zodb-checkins
Subject:    [Zodb-checkins] CVS: StandaloneZODB/ZEO/zrpc - connection.py:1.1.2.2.2.3
From:       Jeremy Hylton <jeremy () zope ! com>
Date:       2002-04-29 22:33:04
[Download RAW message or body]

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:




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic