]> arthur.barton.de Git - bup.git/blobdiff - cmd/get-cmd.py
get: remove extra src_repo
[bup.git] / cmd / get-cmd.py
index efeb78fd821f7d8d9caee5217af0a4f8dfd0aa24..3d7d4a59c10fdec66344f63f0f8478d534d69eeb 100755 (executable)
@@ -585,9 +585,6 @@ def main():
     with dest_repo as dest_repo:
         with LocalRepo(repo_dir=src_dir) as src_repo:
             with dest_repo.new_packwriter(compression_level=opt.compress) as writer:
-
-                src_repo = LocalRepo(repo_dir=src_dir)
-
                 # Resolve and validate all sources and destinations,
                 # implicit or explicit, and do it up-front, so we can
                 # fail before we start writing (for any obviously