[Yum-devel] [PATCH] Fix getCanonSPARCArch() "crash" when called on non-SPARC.
Seth Vidal
skvidal at fedoraproject.org
Mon Aug 31 20:20:16 UTC 2009
On Mon, 31 Aug 2009, Ville Skyttä wrote:
> Hello,
>
> The attached patch fixes an unbound local error and an attribute error in
> getCanonSPARCArch() when called on non-SPARC. Maybe it should additionally
> have an early fail-fast test like other getCanon*Arch() have as their first
> thing, but I don't know what that test should be on SPARC.
>
I asked the resident sparc expert (Spot) about this - he doesn't know the
situation in which any other arch will EVER call getCanonSPARCArch() but
your patch is otherwise fine.
-sv
More information about the Yum-devel
mailing list