diff options
author | Bastien Guerry <bzg@altern.org> | 2014-01-13 00:25:25 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-01-13 00:25:25 +0100 |
commit | dac6d880b7233fb345f3bbeebc79b1729daf9682 (patch) | |
tree | ffd2bf471660302505fac91cd409c73962716f0e | |
parent | bf0649c6fc2c059d32b3b36fcbd616447c32b4db (diff) | |
download | org-mode-dac6d880b7233fb345f3bbeebc79b1729daf9682.tar.gz |
ob-python.el (org-babel-python-var-to-python): Bugfix
* ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
properties before formatting the results.
Thanks to Daniel Gerber for reporting this and providing a fix,
and to others who contributed.
-rw-r--r-- | lisp/ob-python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 1457682..523fd70 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -137,7 +137,7 @@ specifying a variable of the same value." org-babel-python-hline-to (format (if (and (stringp var) (string-match "[\n\r]" var)) "\"\"%S\"\"" "%S") - var)))) + (substring-no-properties var))))) (defun org-babel-python-table-or-string (results) "Convert RESULTS into an appropriate elisp value. |