diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 891ee7152..6ac1ff1eb 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -424,7 +424,7 @@ def generate_script(self) -> str: If the script fails, it is expected to return with an exit code != 0. """ - raise ImplError("element plugin '{kind}' does not implement write_script()".format(kind=self.get_kind())) + raise ImplError("element plugin '{kind}' does not implement generate_script()".format(kind=self.get_kind())) ############################################################# # Public Methods #