summaryrefslogtreecommitdiff
path: root/designate/objects/recordset.py
diff options
context:
space:
mode:
Diffstat (limited to 'designate/objects/recordset.py')
-rwxr-xr-xdesignate/objects/recordset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/designate/objects/recordset.py b/designate/objects/recordset.py
index 2011c735..86b2bfa8 100755
--- a/designate/objects/recordset.py
+++ b/designate/objects/recordset.py
@@ -121,7 +121,7 @@ class RecordSet(base.DesignateObject, base.DictObjectMixin,
try:
record_list_cls = self.obj_cls_from_name('%sList' % self.type)
record_cls = self.obj_cls_from_name(self.type)
- except (KeyError, ovo_exc.UnsupportedObjectError) as e:
+ except (KeyError, ovo_exc.UnsupportedObjectError):
err_msg = ("'%(type)s' is not a valid record type"
% {'type': self.type})
self._validate_fail(errors, err_msg)