diff --git a/src/pushsource/_impl/model/erratum_fixup.py b/src/pushsource/_impl/model/erratum_fixup.py index bc84deed..80d028a6 100644 --- a/src/pushsource/_impl/model/erratum_fixup.py +++ b/src/pushsource/_impl/model/erratum_fixup.py @@ -53,6 +53,8 @@ def __init__(self, delegate, attrs_old_to_new): # (we do this dynamically to cope with differences between ancient and newer # versions of attrs library) attr_kwargs = {"name": new_name} + if hasattr(old_attr, "alias"): + attr_kwargs["alias"] = new_name for argname in [ "default", "validator",