From b3efd0ba0c9007cdebe7c7c2e5df4ce2045db602 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 23 Apr 2024 23:59:59 +0200 Subject: [PATCH] Typo fixes --- npbackup/__main__.py | 2 +- npbackup/restic_wrapper/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/npbackup/__main__.py b/npbackup/__main__.py index 8158955..0d9f7bf 100644 --- a/npbackup/__main__.py +++ b/npbackup/__main__.py @@ -212,7 +212,7 @@ This is free software, and you are welcome to redistribute it under certain cond parser.add_argument( "--dry-run", action="store_true", - help="Run operations in test mode (no actual modifications", + help="Run operations in test mode, no actual modifications", ) parser.add_argument( "--create-scheduled-task", diff --git a/npbackup/restic_wrapper/__init__.py b/npbackup/restic_wrapper/__init__.py index e215af0..e5d8212 100644 --- a/npbackup/restic_wrapper/__init__.py +++ b/npbackup/restic_wrapper/__init__.py @@ -197,7 +197,7 @@ class ResticRunner: if isinstance(value, bool): self._dry_run = value else: - raise ValueError("Bogus dry run value givne") + raise ValueError("Bogus dry run value given") @property def json_output(self) -> bool: @@ -208,7 +208,7 @@ class ResticRunner: if isinstance(value, bool): self._json_output = value else: - raise ValueError("Bogus json_output value givne") + raise ValueError("Bogus json_output value given") @property def ignore_cloud_files(self) -> bool: