Merge pull request #1585 from rvoicilas/master

Use values() when the keys are not being used
This commit is contained in:
Kenneth Reitz
2013-09-24 10:45:46 -07:00
+1 -1
View File
@@ -500,7 +500,7 @@ class Session(SessionRedirectMixin):
def close(self):
"""Closes all adapters and as such the session"""
for _, v in self.adapters.items():
for v in self.adapters.values():
v.close()
def mount(self, prefix, adapter):