Permalink
Browse files

get_key > has_key

  • Loading branch information...
anutron committed Aug 10, 2011
1 parent 4baeab6 commit 3a36f757e9281aaae16dd68daf248539f86628eb
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/src/depender/views.py
@@ -34,9 +34,9 @@ def get_depender(version=None, reset=False):
if settings.DEPENDER_DEBUG:
return make_depender(version)
else:
- if reset == "true" or not dependers.get_key(version):
+ if reset == "true" or not dependers.has_key(version):
dependers[version] = make_depender(version)
- return depender[version]
+ return dependers[version]
def massage(depender, components, packages):
"""

0 comments on commit 3a36f75

Please sign in to comment.