[Python-modules-commits] [sphinx] 01/01: Make an error message in dh_sphinxdoc more verbose.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Thu Aug 11 18:01:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch master
in repository sphinx.

commit 8e13e349e5220e8e001492f9e29cbbd45c0a7626
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Thu Aug 11 21:00:21 2016 +0300

    Make an error message in dh_sphinxdoc more verbose.
    
    Closes: #833799.
---
 debian/changelog                 | 7 +++++++
 debian/dh-sphinxdoc/dh_sphinxdoc | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 30037f3..73d8fc2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sphinx (1.4.5-2) UNRELEASED; urgency=medium
+
+  * dh_sphinxdoc: Include the list of packages in the error message about
+    documentation not found (closes: #833799).
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Thu, 11 Aug 2016 20:58:51 +0300
+
 sphinx (1.4.5-1) unstable; urgency=medium
 
   * New upstream bugfix release.
diff --git a/debian/dh-sphinxdoc/dh_sphinxdoc b/debian/dh-sphinxdoc/dh_sphinxdoc
index 9c5b347..6798c06 100755
--- a/debian/dh-sphinxdoc/dh_sphinxdoc
+++ b/debian/dh-sphinxdoc/dh_sphinxdoc
@@ -406,7 +406,7 @@ foreach my $path (@paths)
     {
         if (defined $path)
         {
-            error("Sphinx documentation not found at $path");
+            error("Sphinx documentation not found at $path\n(searched in directories: @{$dh{DOPACKAGES}})");
         }
         else
         {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx.git



More information about the Python-modules-commits mailing list