From ae3c8fcbde10f6d0340cb0303033efc346c34f0f Mon Sep 17 00:00:00 2001 From: Bjorn Neergaard Date: Fri, 30 Sep 2022 23:07:18 -0600 Subject: [PATCH] fix(exporter): tweak exception phrasing --- src/poetry_plugin_export/exporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/poetry_plugin_export/exporter.py b/src/poetry_plugin_export/exporter.py index cfa7c13..135ebd2 100644 --- a/src/poetry_plugin_export/exporter.py +++ b/src/poetry_plugin_export/exporter.py @@ -106,8 +106,8 @@ def _export_generic_txt( if package.develop: if not allow_editable: raise RuntimeError( - f"{package.pretty_name} is configured for develop mode" - " which is incompatible with the constraints format." + f"{package.pretty_name} is locked in develop (editable) mode," + " which is incompatible with the constraints.txt format." ) line += "-e "