[Python-modules-commits] r20281 - in packages/sphinx/branches/1.1/debian/dh-sphinxdoc (1 file)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Fri Feb 3 12:51:11 UTC 2012


    Date: Friday, February 3, 2012 @ 12:51:10
  Author: jwilk
Revision: 20281

Fix a regression in dh_sphindoc that caused not removing ".doctrees".

Modified:
  packages/sphinx/branches/1.1/debian/dh-sphinxdoc/dh_sphinxdoc

Modified: packages/sphinx/branches/1.1/debian/dh-sphinxdoc/dh_sphinxdoc
===================================================================
--- packages/sphinx/branches/1.1/debian/dh-sphinxdoc/dh_sphinxdoc	2012-02-03 09:12:51 UTC (rev 20280)
+++ packages/sphinx/branches/1.1/debian/dh-sphinxdoc/dh_sphinxdoc	2012-02-03 12:51:10 UTC (rev 20281)
@@ -293,9 +293,9 @@
 sub drop_cruft($)
 {
     my ($path) = @_;
-    my $doctrees = "$path/.doctrees/";
+    my $doctrees = "$path/.doctrees";
     my $buildinfo = "$path/.buildinfo";
-    if (-f $doctrees and not excludefile($doctrees))
+    if (-d $doctrees and not excludefile($doctrees))
     {
         doit('rm', '-rf', $doctrees);
     }




More information about the Python-modules-commits mailing list