Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Sultan does not throw an error on mv if the destination directory does not have right permissions #23

@davydany

Description

@davydany

It appears that Sultan isn't throwing any errors if the user doesn't have permissions to do a mv. It simply swallows it, and the error doesn't get thrown.

with Sultan.load() as s:
    s.mv(source_file, deployed).run()

Also, why is it swallowing errors and not throwing them if it encounters it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions