summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2008-03-02 14:28:44 +0100
committerHelmut Grohne <helmut@subdivi.de>2008-03-02 14:28:44 +0100
commit6e561400299978c7d7b0a3558a13c3cbe5f82578 (patch)
treebcf45410ef98920568c1cf5096217bb4c5f13360
parentda7964ce7cbdc0e28c4558caabcf36d384253ed1 (diff)
downloadwsgitools-6e561400299978c7d7b0a3558a13c3cbe5f82578.tar.gz
fixed silly POST bug in scgi.forkpool
-rw-r--r--wsgitools/scgi/forkpool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/scgi/forkpool.py b/wsgitools/scgi/forkpool.py
index 44dd362..8171172 100644
--- a/wsgitools/scgi/forkpool.py
+++ b/wsgitools/scgi/forkpool.py
@@ -17,7 +17,7 @@ class SocketFileWrapper:
except: raise # Yes, this is necessary.
else:
self.buff = ""
- if size >= len(self.buff):
+ if size <= len(self.buff):
ret, self.buff = self.buff[:size], self.buff[size:]
return ret
try: