• 
      

    Refactor the DummyAvatarService into two services

    Review Request #8526 — Created Nov. 7, 2016 and submitted

    Information

    Djblets
    release-0.10.x

    Reviewers

    The DummyAvatarService no longer does magic to set whether or not it
    should provide high DPI avatars. Instead, we now have the
    DummyHighDPIAvatarService to provide that (and the
    DummyAvatarService will not provide high DPI avatars).

    Ran unit tests.

    Description From Last Updated

    Typo in description: "mangaer"

    daviddavid

    Typo in description: "havw"

    daviddavid

    "Initialize and return ..."?

    daviddavid

    Missing "Returns".

    chipx86chipx86

    This line shouldn't be here.

    daviddavid
    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          djblets/avatars/tests.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          djblets/avatars/tests.py
      
      
    2. 
        
    david
    1. 
        
    2. Show all issues

      Typo in description: "mangaer"

    3. djblets/avatars/tests.py (Diff revision 1)
       
       
      Show all issues

      "Initialize and return ..."?

    4. 
        
    chipx86
    1. I'm not fully understanding why we're using __call__ for this. Can you walk me through this?

      Might also be good to be explicit in the docstrings about why this is happening. It's going to be confusing down the road.

    2. djblets/avatars/tests.py (Diff revision 1)
       
       
       
       
       
      Show all issues

      Missing "Returns".

    3. 
        
    brennie
    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          djblets/avatars/tests.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          djblets/avatars/tests.py
      
      
    2. 
        
    david
    1. 
        
    2. Show all issues

      Typo in description: "havw"

    3. djblets/avatars/tests.py (Diff revision 2)
       
       
      Show all issues

      This line shouldn't be here.

    4. 
        
    brennie
    brennie
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.10.x (0342dde)