[sagenb] 120/179: slight doc improvement

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 c9e18cf8856ee4a02bf89c7f36a2046a36feb7e7
Author: kcrisman <kcrisman at gmail.com>
Date:   Fri Jun 14 16:50:15 2013 -0300

    slight doc improvement
    
    This example confused someone at [Trac 13621](http://trac.sagemath.org/sage_trac/ticket/13621).
---
 sagenb/notebook/notebook_object.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sagenb/notebook/notebook_object.py b/sagenb/notebook/notebook_object.py
index bb8dcc7..431b187 100644
--- a/sagenb/notebook/notebook_object.py
+++ b/sagenb/notebook/notebook_object.py
@@ -63,7 +63,7 @@ class NotebookObject:
           ::
 
               from sagenb.notebook.notebook import load_notebook
-              nb = load_notebook(dir)
+              nb = load_notebook("directory_to_run_sage_in")
               user_manager = nb.user_manager()
               user_manager.set_accounts(True)
               user_manager.add_user("username", "password", "email at place", "user")

-- 
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