Commits

Ian Lewis committed 7850571

[s3boto] Updated comment for the preloaded metadata check in last_modified()

  • Participants
  • Parent commits 271d496

Comments (0)

Files changed (1)

File storages/backends/s3boto.py

             raise NotImplementedError()
         name = self._normalize_name(self._clean_name(name))
         entry = self.entries.get(name)
-        # only call the function if the get fails
+        # only call self.bucket.get_key() if the key is not found
+        # in the preloaded metadata.
         if entry is None:
             entry = self.bucket.get_key(self._encode_name(name))
         # convert to string to date