backslash should not be path-sep when using swiftclient under windows
Bug #1511813 reported by
Dirk Petersen
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
In Progress
|
Medium
|
James Nzomo |
Bug Description
When I use python-swiftclient under windows (v. 2.60 Python 3.4 x64), the path separator for pseudo folders is a backslash
muh\viostor\
muh\viostor\
muh\viostor\
muh\viostor\
muh\viostor\
muh\viostor\
muh\viostor\
muh\viostor\
I am not sure if this behavior was intended but it will break every other GUI client trying to access the data uploaded using the python swift client.
perhaps os.sep should be set to '/' when initially walking through the file system.
Changed in python-swiftclient: | |
assignee: | nobody → sanket lawangare (sanket-lawangare-d) |
Changed in python-swiftclient: | |
assignee: | sanket lawangare (sanket-lawangare-d) → nobody |
Changed in python-swiftclient: | |
importance: | Undecided → Medium |
Changed in python-swiftclient: | |
assignee: | nobody → James Nzomo (moje) |
To post a comment you must log in.
os.sep or os.path.sep appear to be read only?
this hack works for me but there may be more elegant ways:
https:/ /github. com/FredHutch/ python- swiftclient/ commit/ 57ecf5034b1f585 66fe06b6ddfde3d 932dbf207b