Remove warning messages from importing auth or resources

Review Request #7516 — Created July 13, 2015 and submitted

Information

Djblets
release-0.9.x

Reviewers

The DeprecationWarning warnings were intended to inform that the old
djblets.webapi.auth and djblets.webapi.resources modules are
deprecated and all functionality is stored in submodules. However,
these messages are always printed, even though the imports are updated.
This patch removes these deprecation warnings as they will always be
printed and are not helpful.

This patch also fixes one import that was not updated.

No deprecation warnings are printed with this patch applied.

Description From Last Updated

'warnings' imported but unused

reviewbotreviewbot

'warnings' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/webapi/resources/__init__.py
        djblets/extensions/resources.py
        djblets/webapi/auth/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/resources/__init__.py
        djblets/extensions/resources.py
        djblets/webapi/auth/__init__.py
    
    
  2. djblets/webapi/auth/__init__.py (Diff revision 1)
     
     
    Show all issues
     'warnings' imported but unused
    
  3. djblets/webapi/resources/__init__.py (Diff revision 1)
     
     
    Show all issues
     'warnings' imported but unused
    
  4. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/webapi/resources/__init__.py
        djblets/extensions/resources.py
        djblets/webapi/auth/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/resources/__init__.py
        djblets/extensions/resources.py
        djblets/webapi/auth/__init__.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.9.x (2a6a7e3)