Simplify implementation of Review Board's feature checker

Review Request #8653 — Created Jan. 21, 2017 and submitted

Information

Review Board
release-3.0.x
9f99b64...

Reviewers

This is a small change to simplify the feature checker's
is_feature_enabled method to have fewer exit points.

Ran unit tests.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/features/checkers.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/features/checkers.py
    
    
  2. 
      
brennie
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (907b8cf)