Better handle whitespace in the repository encodings field.

Review Request #5924 — Created June 3, 2014 and submitted

Information

Review Board
master
20c4175...

Reviewers

The encodings field doesn't handle quirky data very well. This change strips
each item in the list of whitespace, and filters for non-empty values.

Ran unit tests.

reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/scmtools/models.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/scmtools/models.py
      Ignored Files:
    
    
  2. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (28cf901)
Loading...