(self)
| 663 | raise TypeError("Unsupported borg key storage type") |
| 664 | |
| 665 | def _find_key_file_from_environment(self): |
| 666 | keyfile = os.environ.get("BORG_KEY_FILE") |
| 667 | if keyfile: |
| 668 | return os.path.abspath(keyfile) |
| 669 | |
| 670 | def _get_new_target_in_keys_dir(self, args): |
| 671 | filename = args.location.to_key_filename() |
no test coverage detected