diff options
author | ianb <devnull@localhost> | 2008-05-16 05:28:51 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2008-05-16 05:28:51 +0000 |
commit | fca147d38f9f15298332912486a5cae86e9caed9 (patch) | |
tree | 7074ba9331e6d43648e82e5d717ac95887414db2 | |
parent | edcaf05e09a3586acc2decbbc2375d156e69ff6f (diff) | |
download | paste-fca147d38f9f15298332912486a5cae86e9caed9.tar.gz |
Fix threaded stdin read
-rw-r--r-- | paste/util/threadedprint.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/util/threadedprint.py b/paste/util/threadedprint.py index 5ed42da..0d625a6 100644 --- a/paste/util/threadedprint.py +++ b/paste/util/threadedprint.py @@ -193,10 +193,10 @@ class StdinCatcher(filemixin.FileMixin): name = currentThread().getName() catchers = self._catchers if not catchers.has_key(name): - self._defaultfunc(name, size) + return self._defaultfunc(name, size) else: catcher = catchers[name] - catcher.read(size) + return catcher.read(size) def _readdefault(self, name, size): self._default.read(size) |