You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7348c5d
Browse filesBrowse the repository at this point in the historyBrowse files
File.is_installed compared the installed copy with the source using
read_text(), which raises UnicodeDecodeError for files that are not
valid UTF-8. install() copies bytes with shutil.copyfile, so compare
bytes as well.
Also report a content mismatch as such. Until now the message said
that the file does not exist even when it existed with different
contents.
Fixes#782
Signed-off-by: Max Freedom Pollard <[email protected]>
0 commit comments