summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergBobrovsky <SergBobrovsky@users.noreply.github.com>2020-12-24 03:01:23 +0300
committerMarcel Hellkamp <marc@gsites.de>2020-12-31 16:22:31 +0100
commiteeede5e77a2735b905c26110c96db4e10a9c788c (patch)
tree572b9c747fefc818535f096a1eac6989927cf803
parentc8fc1416be2bef41d5fcbe87e9e8b7c2264a2f4c (diff)
downloadbottle-eeede5e77a2735b905c26110c96db4e10a9c788c.tar.gz
remove redundant round brackets
-rwxr-xr-xbottle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bottle.py b/bottle.py
index 8a99b8b..5f42930 100755
--- a/bottle.py
+++ b/bottle.py
@@ -2623,7 +2623,7 @@ class AppStack(list):
class WSGIFileWrapper(object):
def __init__(self, fp, buffer_size=1024 * 64):
self.fp, self.buffer_size = fp, buffer_size
- for attr in ('fileno', 'close', 'read', 'readlines', 'tell', 'seek'):
+ for attr in 'fileno', 'close', 'read', 'readlines', 'tell', 'seek':
if hasattr(fp, attr): setattr(self, attr, getattr(fp, attr))
def __iter__(self):