Package: trash-cli Version: 0.17.1.14-3 Followup-For: Bug #956637 Dear Maintainer,
attatched a patch
--- trashcli/list_mount_points.py 2017-01-14 23:25:12.000000000 +0100 +++ list_mount_points.py 2020-05-16 00:50:22.635053303 +0200 @@ -60,9 +60,9 @@ libc.fopen.restype = c_void_p libc.fclose.argtypes = [c_void_p] - f = libc.fopen("/proc/mounts", "r") + f = libc.fopen(b'/proc/mounts', b'r') if f==None: - f = libc.fopen("/etc/mtab", "r") + f = libc.fopen(b'/etc/mtab', b'r') if f == None: raise IOError("Unable to open /proc/mounts nor /etc/mtab") @@ -71,6 +71,6 @@ if bool(entry) == False: libc.fclose(f) break - yield Filesystem(entry.contents.mnt_dir, - entry.contents.mnt_type, - entry.contents.mnt_fsname) + yield Filesystem(entry.contents.mnt_dir.decode('utf-8'), + entry.contents.mnt_type.decode('utf-8'), + entry.contents.mnt_fsname.decode('utf-8'))