ob-python: enough newlines to ensure a return when ":results output :session"

* lisp/ob-python.el (org-babel-python-evaluate-session): Enough
  newlines to ensure a return when ":results output :session".
This commit is contained in:
Eric Schulte 2011-07-03 12:08:13 -06:00
parent 9e7ef71da3
commit fcede7c577
1 changed files with 2 additions and 1 deletions

View File

@ -269,8 +269,9 @@ last statement in BODY, as elisp."
(org-babel-comint-with-output
(session org-babel-python-eoe-indicator t body)
(input-body body)
(send-wait) (send-wait)
(insert org-babel-python-eoe-indicator)
(send-wait) (send-wait))
(send-wait))
2) "\n"))
(value
(let ((tmp-file (org-babel-temp-file "python-")))