Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173532 - invalid subarch check filters too much
Summary: invalid subarch check filters too much
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-04-06 03:56 UTC by SpanKY
Modified: 2007-04-12 19:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2007-04-06 03:56:22 UTC
if an arch module is broken, you get the generic "Invalid Subarch" error message

i'd apply this fix:
...
        # Call arch constructor, pass our settings
        try:
            self.arch=self.subarchmap[self.settings["subarch"]](self.settings)
-       except:
+       except KeyError:
            print "Invalid subarch: '"+self.settings["subarch"]+"'"
            print "Choose one of the following:",
...
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-10 21:34:12 UTC
Fixed in SVN
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-12 19:43:02 UTC
This is fixed in 2.0.4 which was just released.