diff --git a/snakemake/common/__init__.py b/snakemake/common/__init__.py index b09feb91d..878966c7a 100644 --- a/snakemake/common/__init__.py +++ b/snakemake/common/__init__.py @@ -23,7 +23,7 @@ MIN_PY_VERSION = (3, 7) -DYNAMIC_FILL = "__othernakemake_dynamic__" +DYNAMIC_FILL = "__snakemake_dynamic__" SNAKEMAKE_SEARCHPATH = str(Path(__file__).parent.parent.parent) UUID_NAMESPACE = uuid.uuid5(uuid.NAMESPACE_URL, "https://snakemake.readthedocs.io") NOTHING_TO_BE_DONE_MSG = ( @@ -172,7 +172,7 @@ class Mode: class lazy_property(property): - __otherlots__ = ["method", "cached", "__doc__"] + __slots__ = ["method", "cached", "__doc__"] @staticmethod def clean(instance, method): diff --git a/snakemake/io.py b/snakemake/io.py index ffd144e78..44fecc5aa 100755 --- a/snakemake/io.py +++ b/snakemake/io.py @@ -1065,7 +1065,7 @@ def pipe(value): if is_flagged(value, "remote"): raise SyntaxError("Pipes may not be remote files.") if ON_WINDOWS: - logger.warning("Pipes is not yet supported on Windows.") + logger.warning("Pipes are not yet supported on Windows.") return flag(value, "pipe", not ON_WINDOWS)