Closed adamk33n3r closed 9 years ago
Excelent work Adam,
Thank you very much.
Greetings from Argentina!
El 18/09/15 a las 17:30, Adam Keenan escribió:
Python3 introduced the |bytes| type which breaks this. I convert the stdout and stderr to strings before operating on them.
You can view, comment on, or merge this pull request online at:
https://github.com/jaspernbrouwer/powerline-gitstatus/pull/9
Commit Summary
Modified segments.py to support python3
File Changes
M powerline_gitstatus/segments.py https://github.com/jaspernbrouwer/powerline-gitstatus/pull/9/files#diff-0 (4)
Patch Links:
- https://github.com/jaspernbrouwer/powerline-gitstatus/pull/9.patch
- https://github.com/jaspernbrouwer/powerline-gitstatus/pull/9.diff
— Reply to this email directly or view it on GitHub https://github.com/jaspernbrouwer/powerline-gitstatus/pull/9.
Thanks!
No problem! I love powerline and this segment is just a really good fit. I made the mistake(?) of installing powerline in py3. I'm glad this was such an easy fix.
A new version is tagged and submitted to pypi!
Python3 introduced the
bytes
type which breaks this. I convert the stdout and stderr to strings before operating on them.