diff options
author | SergBobrovsky <SergBobrovsky@users.noreply.github.com> | 2020-12-25 20:28:40 +0300 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2020-12-31 16:19:50 +0100 |
commit | 971bc5028340ebd8b7afe6ce909934e8fed54a47 (patch) | |
tree | 543bdd6912be5b7b20861c95af5e94f843ec2005 | |
parent | f5a9f76586e06a1cb7bbea8b395000fe9fde7f31 (diff) | |
download | bottle-971bc5028340ebd8b7afe6ce909934e8fed54a47.tar.gz |
fix erroneous expression
from standart module "operator"
```
def is_not(a, b):
"Same as a is not b."
return a is not b
```
-rwxr-xr-x | bottle.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -575,7 +575,7 @@ class Route(object): callback = plugin(callback) except RouteReset: # Try again with changed configuration. return self._make_callback() - if not callback is self.callback: + if callback is not self.callback: update_wrapper(callback, self.callback) return callback |