[Python-modules-commits] r23904 - in packages/sphinx/trunk/debian (3 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Tue Apr 9 15:45:35 UTC 2013


    Date: Tuesday, April 9, 2013 @ 15:45:34
  Author: jwilk
Revision: 23904

Drop show_more_stack_frames.diff; an option to show full traceback (-T) is now available.

Modified:
  packages/sphinx/trunk/debian/changelog
  packages/sphinx/trunk/debian/patches/series
Deleted:
  packages/sphinx/trunk/debian/patches/show_more_stack_frames.diff

Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog	2013-04-09 15:01:21 UTC (rev 23903)
+++ packages/sphinx/trunk/debian/changelog	2013-04-09 15:45:34 UTC (rev 23904)
@@ -9,6 +9,8 @@
     + Drop l10n_fixes.diff, applied upstream.
     + Drop manpage_writer_docutils_0.10_api.diff applied upstream.
     + Drop pygments_byte_strings.diff, different fix applied upstream.
+    + Drop show_more_stack_frames.diff; an option to show full traceback (-T)
+      is now available.
     + Refresh other patches.
     + Update integration tests for the JavaScript code.
     + Update debian/copyright.
@@ -18,7 +20,7 @@
   * Use a dedicated script to extract JavaScript code for libjs-sphinxdoc.
   * Add no_external_css.diff: don't use CSS files hosted on external sites.
 
- -- Jakub Wilk <jwilk at debian.org>  Mon, 08 Apr 2013 20:57:05 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Tue, 09 Apr 2013 17:24:09 +0200
 
 sphinx (1.1.3+dfsg-7) experimental; urgency=low
 

Modified: packages/sphinx/trunk/debian/patches/series
===================================================================
--- packages/sphinx/trunk/debian/patches/series	2013-04-09 15:01:21 UTC (rev 23903)
+++ packages/sphinx/trunk/debian/patches/series	2013-04-09 15:45:34 UTC (rev 23904)
@@ -1,6 +1,5 @@
 disable_distribute_setup.diff
 unversioned_grammar_pickle.diff
-show_more_stack_frames.diff
 initialize_autodoc.diff
 sphinxcontrib_namespace.diff
 python3_test_build_dir.diff

Deleted: packages/sphinx/trunk/debian/patches/show_more_stack_frames.diff
===================================================================
--- packages/sphinx/trunk/debian/patches/show_more_stack_frames.diff	2013-04-09 15:01:21 UTC (rev 23903)
+++ packages/sphinx/trunk/debian/patches/show_more_stack_frames.diff	2013-04-09 15:45:34 UTC (rev 23904)
@@ -1,25 +0,0 @@
-Description: when Sphinx crashes, show 10 stack frames (instead of a single one)
- Normally, when Sphinx crashes, it doesn't display full stack trace (as other
- Python application do by default), but only a single one; rest of the stack
- trace is stored into a temporary file. Such behaviour is undesired in some
- circumstances; e.g. is Sphinx crashes on a buildd, the full stack trace is
- definitely lost.
- .
- This patch mitigates the problem by increasing number of show stack frames to
- 10.
-Author: Jakub Wilk <jwilk at debian.org>
-Bug: https://bitbucket.org/birkenfeld/sphinx/issue/869
-Forwarded: not-needed
-Last-Update: 2011-05-18
-
---- a/sphinx/cmdline.py
-+++ b/sphinx/cmdline.py
-@@ -268,7 +268,7 @@
-                 print >>error, terminal_safe(unicode(err))
-             else:
-                 print >>error, red('Exception occurred:')
--                print >>error, format_exception_cut_frames().rstrip()
-+                print >>error, format_exception_cut_frames(10).rstrip()
-                 tbpath = save_traceback()
-                 print >>error, red('The full traceback has been saved '
-                                    'in %s, if you want to report the '




More information about the Python-modules-commits mailing list