From b98b827594d3837de2ff35ec6e0d475bff38f448 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 23 May 2022 10:59:56 -0700 Subject: [PATCH] Remove stale comment. --- borgmatic/hooks/command.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/borgmatic/hooks/command.py b/borgmatic/hooks/command.py index aaa777ace..aad905112 100644 --- a/borgmatic/hooks/command.py +++ b/borgmatic/hooks/command.py @@ -26,8 +26,7 @@ def execute_hook(commands, umask, config_filename, description, dry_run, **conte a hook description, and whether this is a dry run, run the given commands. Or, don't run them if this is a dry run. - The context contains optional values interpolated by name into the hook commands. Currently, - this only applies to the on_error hook. + The context contains optional values interpolated by name into the hook commands. Raise ValueError if the umask cannot be parsed. Raise subprocesses.CalledProcessError if an error occurs in a hook.