[Python-modules-commits] r20073 - in packages/sphinx/trunk/debian (2 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sun Jan 22 13:45:14 UTC 2012


    Date: Sunday, January 22, 2012 @ 13:45:13
  Author: jwilk
Revision: 20073

dh_sphinxdoc: produce different diagnostic message when unknown JavaScript script is being ignored than when it's a fatal error.

Modified:
  packages/sphinx/trunk/debian/changelog
  packages/sphinx/trunk/debian/dh-sphinxdoc/dh_sphinxdoc

Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog	2012-01-22 12:29:01 UTC (rev 20072)
+++ packages/sphinx/trunk/debian/changelog	2012-01-22 13:45:13 UTC (rev 20073)
@@ -24,8 +24,10 @@
     using dh_python2 and those using python-support, to be co-importable.
   * Add various texlive-* to Suggests.
   * Don't install SOURCES.txt into the binary package.
+  * dh_sphinxdoc: produce different diagnostic message when unknown JavaScript
+    script is being ignored than when it's a fatal error.
 
- -- Jakub Wilk <jwilk at debian.org>  Sat, 26 Nov 2011 15:16:18 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Sun, 22 Jan 2012 14:42:42 +0100
 
 sphinx (1.0.8+dfsg-2) unstable; urgency=low
 

Modified: packages/sphinx/trunk/debian/dh-sphinxdoc/dh_sphinxdoc
===================================================================
--- packages/sphinx/trunk/debian/dh-sphinxdoc/dh_sphinxdoc	2012-01-22 12:29:01 UTC (rev 20072)
+++ packages/sphinx/trunk/debian/dh-sphinxdoc/dh_sphinxdoc	2012-01-22 13:45:13 UTC (rev 20073)
@@ -215,11 +215,11 @@
     my $basic = grep { $_ eq $js } qw(searchtools.js doctools.js jquery.js underscore.js);
     if ($basic)
     {
-        error($message);
+        error("error: $message");
     }
     else
     {
-        warning($message);
+        warning("ignoring $message");
     }
 }
 




More information about the Python-modules-commits mailing list