Removed unused Duplicate catch.
This commit is contained in:
@@ -127,7 +127,7 @@ class DbDriver(object):
|
||||
|
||||
try:
|
||||
project = db.project_create(context.get_admin_context(), values)
|
||||
except (exception.Duplicate, exception.DBError):
|
||||
except exception.DBError:
|
||||
raise exception.ProjectExists(project=name)
|
||||
|
||||
for member in members:
|
||||
|
||||
Reference in New Issue
Block a user