# HG changeset patch # User RhodeCode Admin # Date 2024-11-12 11:11:31 # Node ID f4bef470dc183c0a2040aa0a540d0c34713b78a7 # Parent 5ec15a34936d384829e784852b8aa767057384d6 code: fixed typos diff --git a/vcsserver/hooks.py b/vcsserver/hooks.py --- a/vcsserver/hooks.py +++ b/vcsserver/hooks.py @@ -64,7 +64,7 @@ class HooksCeleryClient: def __call__(self, method, extras): # NOTE: exception handling for those tasks executed is in - # @adapt_for_celery decorator + # @adopt_for_celery decorator # also see: _maybe_handle_exception which is handling exceptions inquired_task = self.celery_app.signature(f'rhodecode.lib.celerylib.tasks.{method}') @@ -123,7 +123,7 @@ class SvnMessageWriter(RemoteMessageWrit def _maybe_handle_exception(writer, result): """ adopt_for_celery defines the exception/exception_traceback - Ths result is a direct output from a celery task + This result is a direct output from a celery task """ exception_class = result.get('exception')