[Python-modules-commits] r17756 - in packages/sphinx/trunk/debian (dh_sphinxdoc)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Fri Jul 8 20:40:20 UTC 2011


    Date: Friday, July 8, 2011 @ 20:40:19
  Author: jwilk
Revision: 17756

dh_sphinxdoc: add an article.

Modified:
  packages/sphinx/trunk/debian/dh_sphinxdoc

Modified: packages/sphinx/trunk/debian/dh_sphinxdoc
===================================================================
--- packages/sphinx/trunk/debian/dh_sphinxdoc	2011-07-08 20:39:36 UTC (rev 17755)
+++ packages/sphinx/trunk/debian/dh_sphinxdoc	2011-07-08 20:40:19 UTC (rev 17756)
@@ -101,7 +101,7 @@
     my $loads_searchindex = $search =~ m/\QjQuery(function() { Search.loadIndex("searchindex.js"); });\E/;
     my ($has_source) = $search =~ m{HAS_SOURCE:\s*(true|false)};
     my ($url_root) = $search =~ m{URL_ROOT:\s*'([^']*)'};
-    (%js and $loads_searchindex and defined $has_source and defined $url_root) or error("$searchfn doesn't look like Sphinx search page");
+    (%js and $loads_searchindex and defined $has_source and defined $url_root) or error("$searchfn doesn't look like a Sphinx search page");
     $url_root =~ m{^([a-z]+:/)?/} and error("URL_ROOT in $searchfn is not relative");
     for my $js (keys(%js))
     {




More information about the Python-modules-commits mailing list