[pywin32-checkins] pywin32/com/win32com/server connect.py, 1.2, 1.3 dispatcher.py, 1.7, 1.8
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-27 03:53:31
|
Update of /cvsroot/pywin32/pywin32/com/win32com/server In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31031/com/win32com/server Modified Files: connect.py dispatcher.py Log Message: Replace backticks with explicit repr() calls. Index: connect.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/server/connect.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** connect.py 11 Nov 2000 04:00:45 -0000 1.2 --- connect.py 27 Nov 2008 03:53:25 -0000 1.3 *************** *** 61,65 **** def _OnNotifyFail(self, interface, details): ! print "Ignoring COM error to connection - %s" % (`details`) --- 61,65 ---- def _OnNotifyFail(self, interface, details): ! print "Ignoring COM error to connection - %s" % (repr(details)) Index: dispatcher.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/server/dispatcher.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** dispatcher.py 26 Nov 2008 08:52:32 -0000 1.7 --- dispatcher.py 27 Nov 2008 03:53:25 -0000 1.8 *************** *** 144,148 **** rc = DispatcherBase._QueryInterface_(self, iid) if not rc: ! self._trace_("in %s._QueryInterface_ with unsupported IID %s (%s)" % (`self.policy._obj_`, IIDToInterfaceName(iid),iid)) return rc --- 144,148 ---- rc = DispatcherBase._QueryInterface_(self, iid) if not rc: ! self._trace_("in %s._QueryInterface_ with unsupported IID %s (%s)" % (repr(self.policy._obj_), IIDToInterfaceName(iid),iid)) return rc *************** *** 205,209 **** # If we have no logger, setup our output. import win32traceutil # Sets up everything. ! self._trace_("Object with win32trace dispatcher created (object=%s)" % `object`) --- 205,209 ---- # If we have no logger, setup our output. import win32traceutil # Sets up everything. ! self._trace_("Object with win32trace dispatcher created (object=%s)" % repr(object)) |