Skip to content

Commit

Permalink
fix(pyd): backend rshell excess consumer kwarg, can't union with supp…
Browse files Browse the repository at this point in the history
…orted py versions.

Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
  • Loading branch information
BradenM committed Mar 5, 2023
1 parent 3c72953 commit de8da4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion micropy/pyd/backend_rshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ def copy_dir(
"print_func": lambda *args: None,
"sync_hidden": False,
}
self._rsh.rsync(dir_path, str(dest_path), **(rsync_args | rsync))
rsync.pop("consumer", None)
self._rsh.rsync(dir_path, str(dest_path), **{**rsync_args, **rsync})
return dest_path

@contextmanager
Expand Down

0 comments on commit de8da4e

Please sign in to comment.