[sagenb] 122/179: Relax interact check for cells to allow passing options

felix salfelder felix-guest at moszumanska.debian.org
Tue May 6 12:05:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository sagenb.

commit 0363357f705393e2c6e1432616fcdeb13fa11731
Author: Andrey Novoseltsev <novoselt at gmail.com>
Date:   Mon Jun 17 14:24:22 2013 -0700

    Relax interact check for cells to allow passing options
---
 sagenb/notebook/cell.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sagenb/notebook/cell.py b/sagenb/notebook/cell.py
index 5429630..8bf1809 100644
--- a/sagenb/notebook/cell.py
+++ b/sagenb/notebook/cell.py
@@ -1281,7 +1281,7 @@ class Cell(Cell_generic):
             return False
         s = s[0]
         return bool(re.search('(?<!\w)interact\s*\(.*\).*', s) or
-                    re.search('\s*@\s*interact\s*\n', s))
+                    re.search('\s*@\s*interact', s))
 
     def is_interacting(self):
         r"""

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list