1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed up some more flake8 violations (this particular violation still has many occurrences in the tests/ dir so it can't be removed from setup.cfg yet)

This commit is contained in:
Alex Gaynor
2013-10-26 10:50:40 -07:00
parent cc2049cdd7
commit f2d8027c9a
23 changed files with 68 additions and 68 deletions

View File

@@ -90,7 +90,7 @@ class BoundMethodWeakref(object):
else:
base = super(BoundMethodWeakref, cls).__new__(cls)
cls._allInstances[key] = base
base.__init__(target, onDelete, *arguments,**named)
base.__init__(target, onDelete, *arguments, **named)
return base
def __init__(self, target, onDelete=None):
@@ -139,7 +139,7 @@ class BoundMethodWeakref(object):
Currently this is a two-tuple of the id()'s of the
target object and the target function respectively.
"""
return (id(target.__self__),id(target.__func__))
return (id(target.__self__), id(target.__func__))
calculateKey = classmethod(calculateKey)
def __str__(self):