summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2021-10-08 21:23:15 -0400
committerJeff Forcier <jeff@bitprophet.org>2021-10-08 21:23:15 -0400
commit28571d8d7f7b1d10feeb0d120cd837a16d194ed6 (patch)
tree85c007563581ef0de0d5a4e2b159bb2a3019ea56
parent143cb7c0d888db3594ff5d312674e8e3afb5d0a3 (diff)
downloadparamiko-28571d8d7f7b1d10feeb0d120cd837a16d194ed6.tar.gz
Less confusing name of overriding task please
-rw-r--r--tasks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index bea7e27a..06cba017 100644
--- a/tasks.py
+++ b/tasks.py
@@ -101,7 +101,7 @@ def guard(ctx, opts=""):
# TODO 3.0: I'd like to just axe the 'built docs in sdist', none of my other
# projects do it.
@task
-def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None):
+def publish_(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None):
"""
Wraps invocations.packaging.publish to add baked-in docs folder.
"""
@@ -126,7 +126,7 @@ def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None):
# TODO: "replace one task with another" needs a better public API, this is
# using unpublished internals & skips all the stuff add_task() does re:
# aliasing, defaults etc.
-release_coll.tasks["publish"] = release
+release_coll.tasks["publish"] = publish_
ns = Collection(
test,