Skip to content

Commit bb9616c

Browse files
committed
Can't use bytes here
1 parent d83fcd9 commit bb9616c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shellingham/posix/proc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def _get_cmdline(pid):
4444
# necessarily decodable. For Shellingham's purpose, however, we don't
4545
# care. (pypa/pipenv#2820)
4646
# cmdline appends an extra NULL at the end, hence the [:-1].
47-
return tuple(f.read().split(b'\0')[:-1])
47+
return tuple(f.read().split('\0')[:-1])
4848

4949

5050
class ProcFormatError(EnvironmentError):

0 commit comments

Comments
 (0)