[csw-devel] SF.net SVN: gar:[12138] csw/mgar/gar/v2/lib/python/checkpkg_lib.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Dec 30 14:57:55 CET 2010


Revision: 12138
          http://gar.svn.sourceforge.net/gar/?rev=12138&view=rev
Author:   wahwah
Date:     2010-12-30 13:57:55 +0000 (Thu, 30 Dec 2010)

Log Message:
-----------
checkpkg: Don't truncate reasons list

It might lead to large outputs, but completeness is important.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/checkpkg_lib.py

Modified: csw/mgar/gar/v2/lib/python/checkpkg_lib.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg_lib.py	2010-12-30 13:57:24 UTC (rev 12137)
+++ csw/mgar/gar/v2/lib/python/checkpkg_lib.py	2010-12-30 13:57:55 UTC (rev 12138)
@@ -612,10 +612,7 @@
     for reason_group in req_pkgs_reasons:
       for pkg, reason in reason_group:
         missing_reasons_by_pkg.setdefault(pkg, [])
-        if len(missing_reasons_by_pkg[pkg]) < 4:
-          missing_reasons_by_pkg[pkg].append(reason)
-        elif len(missing_reasons_by_pkg[pkg]) == 4:
-          missing_reasons_by_pkg[pkg].append("...and more.")
+        missing_reasons_by_pkg[pkg].append(reason)
     missing_dep_groups = self._MissingDepsFromReasonGroups(
         pkgname, req_pkgs_reasons, declared_deps)
     missing_dep_groups = self._RemovePkgsFromMissing(pkgname, missing_dep_groups)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list