Revision: 17678 http://gar.svn.sourceforge.net/gar/?rev=17678&view=rev Author: wbonnet Date: 2012-04-14 18:31:30 +0000 (Sat, 14 Apr 2012) Log Message: ----------- Add some more statistics : impact column
Modified Paths: -------------- csw/mgar/gar/v2/lib/python/build_tier_list.py Modified: csw/mgar/gar/v2/lib/python/build_tier_list.py =================================================================== --- csw/mgar/gar/v2/lib/python/build_tier_list.py 2012-04-14 18:28:00 UTC (rev 17677) +++ csw/mgar/gar/v2/lib/python/build_tier_list.py 2012-04-14 18:31:30 UTC (rev 17678) @@ -225,9 +225,9 @@ if configParser.getSimulate() == True: - print "\tInit\tProp\tFile" + print "\tInit\tProp\tFile\tImpact" for tier in (0, 1 ,2 ): - print "tier %(tier)d\t%(1)d\t%(2)d\t%(3)d" % { 'tier' : tier + 1 , '1' : countPkg[0][tier], '2' : countPkg[1][tier],'3' : countPkg[2][tier] } + print "tier %(tier)d\t%(1)d\t%(2)d\t%(3)d\t%(4)d" % { 'tier' : tier + 1 , '1' : countPkg[0][tier], '2' : countPkg[1][tier],'3' : countPkg[2][tier] , '4' : countPkg[2][tier] - countPkg[1][tier] } # On sort en rendant le code de retour de main if __name__ == '__main__': This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel