[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - __init__.py:1.3 client.py:1.6 connection.py:1.13 error.py:1.3 log.py:1.3 marshal.py:1.3 server.py:1.5 trigger.py:1.4
Guido van Rossum
guido@python.org
Fri, 30 Aug 2002 17:41:36 -0400
Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv14938
Modified Files:
__init__.py client.py connection.py error.py log.py marshal.py
server.py trigger.py
Log Message:
Whitespace normalization.
=== ZODB3/ZEO/zrpc/__init__.py 1.2 => 1.3 ===
--- ZODB3/ZEO/zrpc/__init__.py:1.2 Tue Jun 11 15:22:26 2002
+++ ZODB3/ZEO/zrpc/__init__.py Fri Aug 30 17:41:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
# zrpc is a package with the following modules
# error -- exceptions raised by zrpc
=== ZODB3/ZEO/zrpc/client.py 1.5 => 1.6 ===
--- ZODB3/ZEO/zrpc/client.py:1.5 Tue Aug 6 19:09:20 2002
+++ ZODB3/ZEO/zrpc/client.py Fri Aug 30 17:41:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
import errno
import select
@@ -321,7 +321,7 @@
elif e in _CONNECT_OK:
# special cases to deal with winsock oddities
if sys.platform.startswith("win") and e == 0:
-
+
# It appears that winsock isn't behaving as
# expected on Win2k. It's possible for connect()
# to return 0, but the connection to have failed.
@@ -330,7 +330,7 @@
# connect_ex() return 0. OTOH, it looks like
# select() is a more reliable indicator on
# Windows.
-
+
r, w, x = select.select([s], [s], [s], 0.1)
if not (r or w or x):
return
=== ZODB3/ZEO/zrpc/connection.py 1.12 => 1.13 ===
--- ZODB3/ZEO/zrpc/connection.py:1.12 Thu Aug 29 17:59:19 2002
+++ ZODB3/ZEO/zrpc/connection.py Fri Aug 30 17:41:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
import asyncore
import select
@@ -172,7 +172,7 @@
if message == self.protocol_version:
self.message_input = self._message_input
# otherwise do something else...
-
+
def message_input(self, message):
"""Decoding an incoming message and dispatch it"""
# XXX Not sure what to do with errors that reach this level.
=== ZODB3/ZEO/zrpc/error.py 1.2 => 1.3 ===
--- ZODB3/ZEO/zrpc/error.py:1.2 Tue Jun 11 15:22:26 2002
+++ ZODB3/ZEO/zrpc/error.py Fri Aug 30 17:41:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
from ZODB import POSException
from ZEO.Exceptions import Disconnected
=== ZODB3/ZEO/zrpc/log.py 1.2 => 1.3 ===
--- ZODB3/ZEO/zrpc/log.py:1.2 Tue Jun 11 15:22:26 2002
+++ ZODB3/ZEO/zrpc/log.py Fri Aug 30 17:41:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
import os
import types
=== ZODB3/ZEO/zrpc/marshal.py 1.2 => 1.3 ===
--- ZODB3/ZEO/zrpc/marshal.py:1.2 Tue Jun 11 15:22:26 2002
+++ ZODB3/ZEO/zrpc/marshal.py Fri Aug 30 17:41:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
import cPickle
from cStringIO import StringIO
@@ -49,7 +49,7 @@
except (self.errors, IndexError), err_msg:
log("can't decode %s" % repr(msg), level=zLOG.ERROR)
raise DecodingError(msg)
-
+
_globals = globals()
_silly = ('__doc__',)
=== ZODB3/ZEO/zrpc/server.py 1.4 => 1.5 ===
--- ZODB3/ZEO/zrpc/server.py:1.4 Thu Jul 25 12:47:55 2002
+++ ZODB3/ZEO/zrpc/server.py Fri Aug 30 17:41:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
import asyncore
import socket
=== ZODB3/ZEO/zrpc/trigger.py 1.3 => 1.4 ===
--- ZODB3/ZEO/zrpc/trigger.py:1.3 Thu Aug 22 15:12:37 2002
+++ ZODB3/ZEO/zrpc/trigger.py Fri Aug 30 17:41:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
import asyncore