# HG changeset patch
# User Jeroen Demeyer <jdemeyer@cage.ugent.be>
# Date 1307459514 -7200
# Node ID 60ed210fdb70d059a5e4d6c9c5af85f2684d86d0
# Parent 39724a510d2c1876ce37637579b153fec2cb187c
Fix 'sage -n'
diff --git a/sage-notebook b/sage-notebook
a
|
b
|
print open(os.environ['SAGE_ROOT'] + '/l |
6 | 6 | |
7 | 7 | print "Please wait while the Sage Notebook server starts..." |
8 | 8 | |
9 | | from sage.server.notebook.all import notebook |
10 | | |
11 | | print "..." |
| 9 | from sage.all import * |
12 | 10 | |
13 | 11 | def wrap(s): |
14 | 12 | """ |
diff --git a/sage-notebook-insecure b/sage-notebook-insecure
a
|
b
|
print open(os.environ['SAGE_ROOT'] + '/l |
6 | 6 | |
7 | 7 | print "Please wait while the Sage Notebook server starts..." |
8 | 8 | |
9 | | from sage.server.notebook.all import notebook |
10 | | |
11 | | print "..." |
| 9 | from sage.all import * |
12 | 10 | |
13 | 11 | if len(sys.argv) > 1: |
14 | 12 | notebook(secure=False, *sys.argv[1:]) |