Skip to content

Commit

Permalink
print_to_stderr needs to be used with one argument
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhalter committed Feb 5, 2018
1 parent ac59781 commit 92c7653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jedi/evaluate/compiled/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def load_module(evaluator, path=None, name=None, sys_path=None):
# Since __import__ pretty much makes code execution possible, just
# catch any error here and print it.
import traceback
print_to_stderr("Cannot import:\n", traceback.format_exc())
print_to_stderr("Cannot import:\n%s" % traceback.format_exc())
return None
finally:
sys.path = temp
Expand Down

0 comments on commit 92c7653

Please sign in to comment.