summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/waitress/channel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/waitress/channel.py b/src/waitress/channel.py
index 296a16a..7d1f385 100644
--- a/src/waitress/channel.py
+++ b/src/waitress/channel.py
@@ -25,7 +25,7 @@ from . import wasyncore
class ClientDisconnected(Exception):
- """ Raised when attempting to write to a closed socket."""
+ """Raised when attempting to write to a closed socket."""
class HTTPChannel(wasyncore.dispatcher):
@@ -480,7 +480,7 @@ class HTTPChannel(wasyncore.dispatcher):
self.last_activity = time.time()
def cancel(self):
- """ Cancels all pending / active requests """
+ """Cancels all pending / active requests"""
self.will_close = True
self.connected = False
self.last_activity = time.time()