Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=524d332f4011d3366a130df888cd069bfd639618

commit 524d332f4011d3366a130df888cd069bfd639618
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Tue Dec 4 10:54:41 2007 +0100

chkdep: mark two more output line as "trace-only"

diff --git a/chkdep b/chkdep
index 860b464..89e6182 100755
--- a/chkdep
+++ b/chkdep
@@ -26,14 +26,15 @@ def rmdupdeps(deps):
while j:
dep = 
pacman.void_to_char(pacman.list_getdata(j)).split("<")[0].split(">")[0].split("=")[0]
if dep not in depdeps:
-                                       print "%s will be ignored if found, as 
%s already depends on it." % (dep, pkgname)
+                                       if trace:
+                                               print "%s will be ignored if 
found, as %s already depends on it." % (dep, pkgname)
depdeps.append(dep)
j = pacman.list_next(j)
i = pacman.list_next(i)
for i in deps:
if i not in depdeps and i not in ignorepkgs:
newdeps.append(i)
-               elif i in depdeps:
+               elif i in depdeps and trace:
print "Ignoring %s as it is already a dependency of some other dependency." % i
return newdeps
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to