Correctly compute uploaded avatar hash

Review Request #8840 — Created March 24, 2017 and submitted

Information

Djblets
release-0.10.x
134173f...

Reviewers

The file upload avatar service was incorrectly computing the file hash
for use in ETag computations, but only if the file_hash was not
already cached in the user's settings. This issue has been fixed.

Uploaded an avatar and deleted the file_cache key. It caused an
AttributeError. After applying this patch, the error would not
reproduce.

chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.10.x (b1f9e75)