Remove the UserResource-specific ETag serialization.

Review Request #7080 — Created March 18, 2015 and submitted

Information

Review Board
release-2.0.x
03df134...

Reviewers

We had a custom get_etag from a long while back that generated an ETag
without the private profile information. This generated warnings against
modern Djblets, and it also broke when a subclass was placed in a
resource with URL keyword arguments, since kwargs wasn't passed down.

This function isn't needed anymore, since ETag generation is now based
on the serialized resource (which, for this resource, already filters
the contents for any private information), and the result is encoded.

Unit tests pass.

RBCommons no longer breaks when trying to access a subclass of this resource.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/webapi/resources/user.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/webapi/resources/user.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (5fe1d0e)