Skip to content
Browse files

Fix mistyped 'profiler'

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information...
1 parent 920ff72 commit 6536e9d9eb412d10c280e1c5c21eb4906f979fe7 @davvid committed Jun 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 pycachegrind
View
2 pycachegrind
@@ -182,7 +182,7 @@ def main(args):
try:
profiler = cProfile.Profile()
try:
- profiler = prof.run('run(%r)' % sys.argv[0])
+ profiler = profiler.run('run(%r)' % sys.argv[0])
except SystemExit:
pass
finally:

0 comments on commit 6536e9d

Please sign in to comment.
Something went wrong with that request. Please try again.