diff options
author | Marcel Hellkamp <marc@gsites.de> | 2011-06-21 11:01:14 +0200 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2011-06-21 11:04:49 +0200 |
commit | 03990a71baa3f295e1a9b5f57c88e5b40f0b423e (patch) | |
tree | 6fc4a7adce9bceda1ded7901d1f3f807e0d19cd7 | |
parent | 037c7f076e6ef919ffff3ec4de0ee2baae7c39d2 (diff) | |
download | bottle-03990a71baa3f295e1a9b5f57c88e5b40f0b423e.tar.gz |
Fix: "DeprecationWarning when using mount.". This fixes #173
-rwxr-xr-x | bottle.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -441,7 +441,7 @@ class Bottle(object): @self.route('/%s/:#.*#' % prefix, **options) def mountpoint(): request.path_shift(path_depth) - return app.handle(request.environ) + return app._handle(request.environ) def add_filter(self, ftype, func): depr("Filters are deprecated and can be replaced with plugins.") #0.9 @@ -653,7 +653,7 @@ class Bottle(object): return r except RouteReset: # Route reset requested by the callback or a plugin. del self.ccache[handle] - return self.handle(environ) # Try again. + return self._handle(environ) # Try again. except (KeyboardInterrupt, SystemExit, MemoryError): raise except Exception, e: |