Revision: 19274 http://gar.svn.sourceforge.net/gar/?rev=19274&view=rev Author: chninkel Date: 2012-09-22 13:39:39 +0000 (Sat, 22 Sep 2012) Log Message: ----------- fixed indentation mistake and amd64 on 5.9 special case
Modified Paths: -------------- csw/mgar/gar/v2-yann/lib/python/dependency_checks.py csw/mgar/gar/v2-yann/lib/python/inspective_package.py Modified: csw/mgar/gar/v2-yann/lib/python/dependency_checks.py =================================================================== --- csw/mgar/gar/v2-yann/lib/python/dependency_checks.py 2012-09-22 13:28:41 UTC (rev 19273) +++ csw/mgar/gar/v2-yann/lib/python/dependency_checks.py 2012-09-22 13:39:39 UTC (rev 19274) @@ -168,7 +168,6 @@ pkgname, messenger) orphan_sonames.extend(orphan_sonames_tmp) - ldd_info = pkg_data['ldd_info'][binary_info["path"]] for ldd_response in ldd_info: if ldd_response['state'] == 'soname-unused' and ldd_response['soname'] not in BASE_SOLARIS_LIBRARIES: Modified: csw/mgar/gar/v2-yann/lib/python/inspective_package.py =================================================================== --- csw/mgar/gar/v2-yann/lib/python/inspective_package.py 2012-09-22 13:28:41 UTC (rev 19273) +++ csw/mgar/gar/v2-yann/lib/python/inspective_package.py 2012-09-22 13:39:39 UTC (rev 19274) @@ -350,7 +350,8 @@ # which exists only in 32 bits, that's not possible # we ignore the error and return no information as it is likely # that the ldd infos will be the same on the 32 bits binaries analyzed - return {} + ldd_output[binary] = [] + continue else: logging.error("%s returned an error: %s", args, stderr) @@ -361,7 +362,7 @@ ldd_info.append(result) ldd_output[binary] = ldd_info - return ldd_output + return ldd_output def _ParseNmSymLine(self, line): re_defined_symbol = re.compile('[0-9]+ [ABDFNSTU] \S+') 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