~soren/nova/iptables-security-groups

« back to all changes in this revision

Viewing changes to nova/api/ec2/apirequest.py

  • Committer: Soren Hansen
  • Date: 2011-01-03 09:56:21 UTC
  • mfrom: (430.2.79 nova)
  • Revision ID: soren@linux2go.dk-20110103095621-qy398qk1uk8o7cy3
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
            method = getattr(self.controller,
93
93
                             _camelcase_to_underscore(self.action))
94
94
        except AttributeError:
95
 
            _error = ('Unsupported API request: controller = %s,'
96
 
                      'action = %s') % (self.controller, self.action)
 
95
            _error = _('Unsupported API request: controller = %s,'
 
96
                       'action = %s') % (self.controller, self.action)
97
97
            _log.warning(_error)
98
98
            # TODO: Raise custom exception, trap in apiserver,
99
99
            #       and reraise as 400 error.