mirror of
https://github.com/borgbackup/borg.git
synced 2026-07-16 13:33:03 -04:00
fix CommandError args, fixes 8029
this is a fwd port from 1.4-maint and most of it was already done in master, so only a minor change in here.
This commit is contained in:
parent
74129e539b
commit
930ecd845a
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class KeysMixIn:
|
|||
if not args.path:
|
||||
raise CommandError("expected input file to import key from")
|
||||
if args.path != "-" and not os.path.exists(args.path):
|
||||
raise CommandError("input file does not exist: " + args.path)
|
||||
raise CommandError(f"input file does not exist: {args.path}")
|
||||
manager.import_keyfile(args)
|
||||
|
||||
def build_parser_keys(self, subparsers, common_parser, mid_common_parser):
|
||||
|
|
|
|||
Loading…
Reference in a new issue