Skip to content

Commit

Permalink
eval kernel: fix for ability to use %pmap; fixes do_function_direct
Browse files Browse the repository at this point in the history
  • Loading branch information
dsblank committed Sep 13, 2014
1 parent de851f3 commit a0c84ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eval_kernel/eval_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def do_function_direct(self, function_name, arg):
"""
Call a function in the kernel language with args (as a single item).
"""
python_magic = self.line_magics['python']
return python_magic.eval("%s(%s)" % (function_name, arg))

def get_completions(self, info):
Expand Down

0 comments on commit a0c84ea

Please sign in to comment.