summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
Diffstat (limited to 'paste')
-rw-r--r--paste/recursive.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/paste/recursive.py b/paste/recursive.py
index bfe8206..5974991 100644
--- a/paste/recursive.py
+++ b/paste/recursive.py
@@ -57,6 +57,12 @@ class Recursive(object):
environ['PATH_INFO'] = path_info
return self.activate(environ)
+ def __repr__(self):
+ return '<%s.%s from %s>' % (
+ self.__class__.__module__,
+ self.__class__.__name__,
+ self.original_environ.get('SCRIPT_NAME') or '/')
+
class Forwarder(Recursive):
def activate(self, environ):