1
0
mirror of https://github.com/gryf/mc_adbfs.git synced 2026-01-28 03:55:47 +01:00

Fix bad filenames for Python3.

In Python3, if there are filenames encoded with 8-bit encodings, there
might be an issues with converting them into unicode objects. This is a
workaround on this subject. Python2 is not affected.

Other than that, there was tests added to cover this case, appropriate
Makefile which automate creating venvs for both: Python 2 and 3, and
also there is a check against pep8 rules using flake8.
This commit is contained in:
2019-05-14 21:10:28 +02:00
parent 63fdc2c605
commit 5ece2d579c
5 changed files with 184 additions and 5 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.test
__pycache__
adbfsc