[Supervisor-checkins] r884 - in supervisor/trunk/src/supervisor: . tests
Chris McDonough
chrism at agendaless.com
Sat Sep 5 15:06:00 EDT 2009
Author: Chris McDonough <chrism at agendaless.com>
Date: Sat Sep 5 15:06:00 2009
New Revision: 884
Log:
Make tests pass on Python 2.4.
Modified:
supervisor/trunk/src/supervisor/socket_manager.py
supervisor/trunk/src/supervisor/tests/test_socket_manager.py
Modified: supervisor/trunk/src/supervisor/socket_manager.py
==============================================================================
--- supervisor/trunk/src/supervisor/socket_manager.py (original)
+++ supervisor/trunk/src/supervisor/socket_manager.py Sat Sep 5 15:06:00 2009
@@ -14,7 +14,7 @@
import socket
-class Proxy():
+class Proxy:
""" Class for wrapping a shared resource object and getting
notified when it's deleted
"""
@@ -33,7 +33,7 @@
def _get(self):
return self.object
-class ReferenceCounter():
+class ReferenceCounter:
""" Class for tracking references to a shared resource
"""
Modified: supervisor/trunk/src/supervisor/tests/test_socket_manager.py
==============================================================================
--- supervisor/trunk/src/supervisor/tests/test_socket_manager.py (original)
+++ supervisor/trunk/src/supervisor/tests/test_socket_manager.py Sat Sep 5 15:06:00 2009
@@ -10,7 +10,7 @@
from supervisor.datatypes import UnixStreamSocketConfig
from supervisor.datatypes import InetStreamSocketConfig
-class TestObject():
+class TestObject:
def __init__(self):
self.value = 5
More information about the Supervisor-checkins
mailing list