diff options
Diffstat (limited to 'django/bin/profiling')
| -rw-r--r-- | django/bin/profiling/gather_profile_stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/bin/profiling/gather_profile_stats.py b/django/bin/profiling/gather_profile_stats.py index 852f16229d..c0844930e9 100644 --- a/django/bin/profiling/gather_profile_stats.py +++ b/django/bin/profiling/gather_profile_stats.py @@ -22,7 +22,7 @@ def gather_stats(p): else: continue print "Processing %s" % f - if profiles.has_key(path): + if path in profiles: profiles[path].add(prof) else: profiles[path] = prof |
