Ticket #13794: trac_13794-scripts.patch

File trac_13794-scripts.patch, 922 bytes (added by jhpalmieri, 9 years ago)

scripts repo

  • sage-notebook

    # 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 
    66
    77print "Please wait while the Sage Notebook server starts..."
    88
    9 from sage.server.notebook.all import notebook
    10 
    11 print "..."
     9from sage.all import *
    1210
    1311def wrap(s):
    1412    """
  • sage-notebook-insecure

    diff --git a/sage-notebook-insecure b/sage-notebook-insecure
    a b print open(os.environ['SAGE_ROOT'] + '/l 
    66
    77print "Please wait while the Sage Notebook server starts..."
    88
    9 from sage.server.notebook.all import notebook
    10 
    11 print "..."
     9from sage.all import *
    1210
    1311if len(sys.argv) > 1:
    1412    notebook(secure=False, *sys.argv[1:])