summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShane Hathaway <shane@willowrise.com>2021-05-11 09:23:04 -0600
committerShane Hathaway <shane@willowrise.com>2021-05-11 09:23:04 -0600
commitc68c9041eb1c443441c3afd645bdf0db7794ab0f (patch)
treedfa68dbba0234dba4883281006f08a189c2f4eb1
parentf84d0fde4daf24e7f59f8a98c593fc624b26e23f (diff)
downloadwaitress-c68c9041eb1c443441c3afd645bdf0db7794ab0f.tar.gz
black
-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()