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

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Fri Apr 25 08:22:39 UTC 2014


    Date: Friday, April 25, 2014 @ 08:22:38
  Author: mitya57-guest
Revision: 28648

Downgrade error about documentation not found to a warning
(closes: #745690).

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	2014-04-25 05:44:40 UTC (rev 28647)
+++ packages/sphinx/trunk/debian/changelog	2014-04-25 08:22:38 UTC (rev 28648)
@@ -1,3 +1,10 @@
+sphinx (1.2.2+dfsg-2) UNRELEASED; urgency=medium
+
+  * Downgrade error about documentation not found to a warning
+    (closes: #745690).
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Fri, 25 Apr 2014 12:20:18 +0400
+
 sphinx (1.2.2+dfsg-1) unstable; urgency=low
 
   * New upstream bugfix release.

Modified: packages/sphinx/trunk/debian/dh-sphinxdoc/dh_sphinxdoc
===================================================================
--- packages/sphinx/trunk/debian/dh-sphinxdoc/dh_sphinxdoc	2014-04-25 05:44:40 UTC (rev 28647)
+++ packages/sphinx/trunk/debian/dh-sphinxdoc/dh_sphinxdoc	2014-04-25 08:22:38 UTC (rev 28648)
@@ -1,6 +1,7 @@
 #!/usr/bin/perl
 
 # Copyright © 2011 Jakub Wilk <jwilk at debian.org>
+#           © 2014 Dmitry Shachnev <mitya57 at gmail.com>
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions are
@@ -363,9 +364,14 @@
     }
     if ($done == 0)
     {
-        my $message = 'Sphinx documentation not found';
-        $message .= " at $path" if defined $path;
-        error($message);
+        if (defined $path)
+        {
+            error("Sphinx documentation not found at $path");
+        }
+        else
+        {
+            warning("Sphinx documentation not found");
+        }
     }
 }
 




More information about the Python-modules-commits mailing list