s3boto modified_time fails for new file with preload metadata

Issue #163 new
Bouke Haarsma
created an issue

Scenario is reproducable like this:

  1. Files are listed (metadata is preloaded)
  2. New file is uploaded
  3. modified_time on new file is requested


File "/storages/backends/s3boto.py" in modified_time
  455.         return parse_ts_extended(entry.last_modified)
File "/storages/backends/s3boto.py" in parse_ts_extended
  39.         rv = parse_ts(ts)
File "/boto/utils.py" in parse_ts
  390.     ts = ts.strip()

Exception Type: AttributeError at /admin/filebrowser/browse/
Exception Value: 'NoneType' object has no attribute 'strip'

Comments (1)

  1. Log in to comment