Browse files

Remove an unused iteration variable.

We can just iterate over the namespace dictionary's keys here.  We
don't need its values.
  • Loading branch information...
1 parent eac350d commit bb99158c870a2d761f1349af02ef1decf0d10c7b Jon Parise committed Mar 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 flask/
2 flask/
@@ -107,7 +107,7 @@ def __new__(cls, name, bases, d):
rv = type.__new__(cls, name, bases, d)
if 'methods' not in d:
methods = set(rv.methods or [])
- for key, value in d.iteritems():
+ for key in d:
if key in http_method_funcs:
# if we have no method at all in there we don't want to

0 comments on commit bb99158

Please sign in to comment.