Skip to content

Commit 8564f16

Browse files
committed
fixes for fs 2.0.27:
1 parent 32e7e4f commit 8564f16

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

HISTORY.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
Release notes
22
=============
33

4+
0.3.5 (2018/08/06)
5+
------------------
6+
- fixed return type of getinfo() dates due to strong
7+
checks in fs > 2.0.27
8+
49
0.3.4 (2018/04/16)
510
------------------
611
- merged PR #14 (`openbin` not raising `ResourceNotFound` on
712
missing parent)
813
[ajung, althonos]
914

15+
1016
0.3.3 (2017/12/29)
1117
------------------
1218
- fixed issue with hardcoded http method in opener.py

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@
4646
tests_require=['docker'],
4747
test_suite='webdavfs.tests',
4848
url="http://pypi.python.org/pypi/fs.webdavfs/",
49-
version="0.3.4.3"
49+
version="0.3.5"
5050
)

webdavfs/webdavfs.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,9 @@ def decode_datestring(s):
203203
if key == 'size' and val:
204204
val = int(val)
205205
elif val:
206-
if key in ('modified', 'created'):
206+
if key in ('modified', 'created', 'accessed'):
207207
val = decode_datestring(val)
208-
val = decode(val)
209-
info_dict['details'][key] = decode(val)
208+
info_dict['details'][key] = decode(val) or None
210209
elif key in access:
211210
info_dict['access'][key] = decode(val)
212211
else:

0 commit comments

Comments
 (0)