Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions lib/iris/fileformats/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,6 @@ def _disable_deprecation_warnings():
_enable_rules_deprecations = old_flag_value


class DebugString(str):
"""
Used by the rules for debug purposes

.. deprecated:: 1.10

"""
def __init__(self, *args, **kwargs):
warn_deprecated(
"the `iris.fileformats.rules.DebugString class is deprecated.")
super(DebugString, self).__init__(*args, **kwargs)


class CMAttribute(object):
"""
Used by the rules for defining attributes on the Cube in a consistent manner.
Expand Down Expand Up @@ -425,9 +412,6 @@ def _process_action_result(self, obj, cube):
elif isinstance(obj, Factory):
factory = obj

elif isinstance(obj, DebugString):
print(obj)

# The function returned nothing, like the pp save actions, "lbft = 3"
elif obj is None:
pass
Expand Down