diff --git a/lib/iris/fileformats/rules.py b/lib/iris/fileformats/rules.py index 5b2dbc7603..bb3cad3374 100644 --- a/lib/iris/fileformats/rules.py +++ b/lib/iris/fileformats/rules.py @@ -168,22 +168,6 @@ def __init__(self, name, value): self.value = value -class CMCustomAttribute(object): - """ - Used by the rules for defining custom attributes on the Cube in a consistent manner. - - .. deprecated:: 1.10 - - """ - __slots__ = ('name', 'value') - def __init__(self, name, value): - warn_deprecated( - "the `iris.fileformats.rules.CmCustomAttribute class is " - "deprecated.") - self.name = name - self.value = value - - class CoordAndDims(object): """ Used within rules to represent a mapping of coordinate to data dimensions. @@ -419,9 +403,6 @@ def _process_action_result(self, obj, cube): else: setattr(cube, obj.name, obj.value) - elif isinstance(obj, CMCustomAttribute): - cube.attributes[obj.name] = obj.value - elif isinstance(obj, Factory): factory = obj