From 39450168f05e034052c8635b8cbea1734570117d Mon Sep 17 00:00:00 2001 From: Sergey Skripnick Date: Wed, 23 Oct 2013 10:40:33 +0300 Subject: [PATCH] Remove duplicates from exceptions list Duplicated exceptions: exception.QuotaError exception.SecurityGroupLimitExceeded Change-Id: Ie8d40cf6e0a1a7b2191877059b757a752aeb4e29 --- nova/api/ec2/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nova/api/ec2/__init__.py b/nova/api/ec2/__init__.py index a59361981927..f48207ed572f 100644 --- a/nova/api/ec2/__init__.py +++ b/nova/api/ec2/__init__.py @@ -573,10 +573,8 @@ class Executor(wsgi.Application): exception.NoMoreFixedIps, exception.NotAuthorized, exception.QuotaError, - exception.QuotaError, exception.SecurityGroupExists, exception.SecurityGroupLimitExceeded, - exception.SecurityGroupLimitExceeded, exception.SecurityGroupRuleExists, exception.VolumeUnattached, # Following aren't translated to valid EC2 errors.