[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.51-8-gd3c1f96

Andreas Beckmann anbe at debian.org
Wed May 15 17:28:58 UTC 2013


The following commit has been merged in the develop branch:
commit 27c18b44c5d24966351a68d57d94393e03ac6a4c
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue May 14 20:04:57 2013 +0200

    p: really disable using pdiffs
    
    pdiffs cost a lot of cpu in order to save some bandwidth
    that's useless with a local mirror or proxy
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 2a63db3..6ea696a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ piuparts (0.52) UNRELEASED; urgency=low
 
   [ Andreas Beckmann ]
   * piuparts.py:
+    - Really disable PDiffs.
   * piuparts.conf:
   * distros.conf:
   * piupartslib/conf.py:
diff --git a/piuparts.py b/piuparts.py
index b49a82d..2b8e439 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -961,7 +961,7 @@ class Chroot:
         lines.append('APT::Install-Recommends "%d";\n' % int(settings.install_recommends))
         lines.append('APT::Install-Suggests "0";\n')
         lines.append('APT::Get::AllowUnauthenticated "%s";\n' % settings.apt_unauthenticated)
-        lines.append('APT::Acquire::PDiffs "false";\n')
+        lines.append('Acquire::PDiffs "false";\n')
         if settings.proxy:
             proxy = settings.proxy
         elif "http_proxy" in os.environ:

-- 
piuparts git repository



More information about the Piuparts-commits mailing list