Commits

Anonymous committed 55135f5

Add __call__ to StackedObjectProxy. For cmlenz

  • Participants
  • Parent commits 6e57068

Comments (0)

Files changed (2)

   missing Content-Length as 0, not unlimited (may have caused freeze ups for
   some kinds of requests before).
 
+* ``StackedObjectProxy`` supports ``__call__``.
+
 1.3
 ---
 

paste/registry.py

     
     def __delitem__(self, key):
         del self._current_obj()[key]
+
+    def __call__(self, *args, **kw):
+        return self._current_obj()(*args, **kw)
     
     def __repr__(self):
         try: