target: LocalLinuxTarget: Populate _file_transfer_cache
Since 1e34390b, AndroidTarget and LinuxTarget share the same code for `push` and `pull`. However, these methods expect a `_file_transfer_cache` field to be present. It is currently populated in `_resolve_paths` for AndroidTarget and LinuxTarget, but not for LocalLinuxTarget. Since LocalLinuxTarget inherits its `push` & `pull` from LinuxTarget, this causes an exception. This commit fixes it by adding an assignment to `_file_transfer_cache` in `LocalLinuxTarget:_resolves_paths`. This is a simple fix, and the actual push/pull behaviour of that local target class could be improved in regards to that transfer cache, but it should be good enough for now.
Loading
Please register or sign in to comment