~ubuntu-branches/ubuntu/raring/ipython/raring

« back to all changes in this revision

Viewing changes to debian/patches/use-system-mathjax-if-available.patch

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2013-02-02 11:14:27 UTC
  • mfrom: (1.2.21) (6.2.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130202111427-nxxl7g1ulix8g9lg
Tags: 0.13.2~rc2-1
* New upstream release candidate (LP: #1161818, #1162112)
* pass -a to xvfb-run
* drop DM-Upload-Allowed, not needed anymore
* don't link documentation of ipython-doc so ipython3 does not depend on
  ipython (Closes: #695554)
  Requires ipython-doc.preinst to not lose copyright on upgrade
* add ipython3 and ipython3-qtconsole desktop files (Closes: #693612)
* fix detection of cython modules for multiarch python (Closes: #697704)
* don't install tests for notebook and qtconsole
* bump standard to 3.9.4, no changes required
* add autopkgtests running testsuite and testing tools, cython magics
  and incomplete install message
* fix crash on tracebacks without line numbers (Closes: #701597)
* add tkinter package to debianize-error-messages.patch (Closes: #701707)
* use canonical vcs fields in control

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
--- a/IPython/frontend/html/notebook/notebookapp.py
10
10
+++ b/IPython/frontend/html/notebook/notebookapp.py
11
 
@@ -150,6 +150,10 @@
 
11
@@ -150,6 +150,10 @@ class NotebookWebApplication(web.Applica
12
12
         # Note that the URLs these patterns check against are escaped,
13
13
         # and thus guaranteed to be ASCII: 'héllo' is really 'h%C3%A9llo'.
14
14
         base_project_url = py3compat.unicode_to_str(base_project_url, 'ascii')
19
19
         
20
20
         settings = dict(
21
21
             template_path=os.path.join(os.path.dirname(__file__), "templates"),
22
 
@@ -368,6 +372,9 @@
 
22
@@ -368,6 +372,9 @@ class NotebookApp(BaseIPythonApplication
23
23
         if os.path.exists(os.path.join(static_path, 'mathjax', "MathJax.js")):
24
24
             self.log.info("Using local MathJax")
25
25
             return static_url_prefix+u"mathjax/MathJax.js"