Bug 173532 - invalid subarch check filters too much
Bug#: 173532 Product:  Gentoo Hosted Projects Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: catalyst@gentoo.org Reported By: vapier@gentoo.org
Component: Catalyst
URL: 
Summary: invalid subarch check filters too much
Keywords:  InSVN
Status Whiteboard: 
Opened: 2007-04-06 03:56 0000
Description:   Opened: 2007-04-06 03:56 0000
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 From Chris Gianelloni (RETIRED) 2007-04-10 21:34:12 0000 -------
Fixed in SVN

------- Comment #2 From Chris Gianelloni (RETIRED) 2007-04-12 19:43:02 0000 -------
This is fixed in 2.0.4 which was just released.