From 58815bc28a795bf4a77a288c4edbda7b32c004f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 1 Oct 2015 09:23:17 -0400 Subject: [PATCH] fix commandline dispatch for converter --- borg/archiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/borg/archiver.py b/borg/archiver.py index 5c33b5f7b..02c6ea781 100644 --- a/borg/archiver.py +++ b/borg/archiver.py @@ -463,9 +463,9 @@ Type "Yes I am sure" if you understand this and want to continue.\n""") stats.print_('Deleted data:', cache) return self.exit_code - def do_convert(self, parser, commands, args): + def do_convert(self, args): """convert a repository from attic to borg""" - repo = AtticRepositoryConverter(os.path.join(args.repository, 'repository'), create=False) + repo = AtticRepositoryConverter(args.repository.path, create=False) try: repo.convert(args.dry_run) except NotImplementedError as e: