Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Commit

Permalink
BUG: fix name from copypasta.
Browse files Browse the repository at this point in the history
Fixes #43

Thanks, @anntzer!
  • Loading branch information
rkern committed Dec 21, 2015
1 parent e8cffaa commit 717df8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion line_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def magic_lprun(self, parameter_s=''):
mod = __import__(modname, fromlist=[''])
profile.add_module(mod)
except Exception as e:
raise UsageError('Could not find module %r.\n%s: %s' % (name,
raise UsageError('Could not find module %r.\n%s: %s' % (modname,
e.__class__.__name__, e))

# Add the profiler to the builtins for @profile.
Expand Down

0 comments on commit 717df8c

Please sign in to comment.