message: drake.cxx: isolate a long list
diff: @@ -100,8 +100,7 @@ class Config:
  self.__default = model.__default
  self.__warnings = collections.OrderedDict(model.__warnings)
  - def __name(self, name):
  - if name not in [
  + known_warnings = [
  'address',
  'aggregate_return',
  'array_bounds',
  @@ -210,8 +209,11 @@ class Config:
  'volatile_register_var',
  'write_strings',
  'zero_as_null_pointer_constant',
  - ]:
  - raise Exception('unkown warning: %s' % name)
  + ]
  +
  + def __name(self, name):
  + if name not in self.known_warnings:
  + raise Exception('unknown warning: %s' % name)
  return name.replace('_', '-')
  def __setattr__(self, name, value):
  