canonical / canonical/pycloudlib

`.pull_file` handles missing files inconsistently

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
22
Forks
42
PR merge metrics
No merged PRs in 30d

Description

On LXD and KVM, it raises a `RuntimeError` (because `rcs=(0,)`, the default, in the `subp` call it uses) whereas on other platforms it will raise whatever `paramiko`'s SFTP implementation raises for a missing file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.