[issue #1720] Add support for AWS Organizations

fix travis build error
This commit is contained in:
Ashley Gould 2018-07-20 14:07:04 -07:00
parent 05928b1497
commit 4356e951e1

View File

@ -181,7 +181,7 @@ class OrganizationsBackend(BaseBackend):
def validate_parent_id(self, parent_id):
try:
self.get_organizational_unit_by_id(parent_id)
except RESTError as e:
except RESTError:
raise RESTError(
'ParentNotFoundException',
"You specified parent that doesn't exist."