[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51

Andreas Beckmann anbe at debian.org
Wed May 15 10:10:02 UTC 2013


The following commit has been merged in the master branch:
commit 1b5b1a236911768655311a209f991754b5348df3
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun May 12 00:52:35 2013 +0200

    lib/conf: clarify a variable name
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/piupartslib/conf.py b/piupartslib/conf.py
index e54cec6..f1fe494 100644
--- a/piupartslib/conf.py
+++ b/piupartslib/conf.py
@@ -165,7 +165,7 @@ class DistroConfig(UserDict.UserDict):
             return ["-t", tr]
         return []
 
-    def _expand_depends(self, distro, virtual=False):
+    def _expand_depends(self, distro, include_virtual=False):
         todo = [distro]
         done = []
         seen = []
@@ -176,7 +176,7 @@ class DistroConfig(UserDict.UserDict):
                 seen.append(curr)
                 todo = (self.get(curr, "depends") or "").split() + [ curr ] + todo
             elif not curr in done:
-                if virtual or not self._is_virtual(curr):
+                if include_virtual or not self._is_virtual(curr):
                     done.append(curr)
         assert(len(done) > 0)
         return done

-- 
piuparts git repository



More information about the Piuparts-commits mailing list