Allow an empty repositories parameter in webhook API

Review Request #8055 — Created March 11, 2016 and submitted

Information

Review Board
release-2.5.x

Reviewers

The webhooks API previously did not allow for an empty repositories
parameter. This patch, like the previous patch for the events parameter,
makes an empty repositories parameter behave like it was not provided.

A unit test has been added to cover this behaviour.

Ran unit tests.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/webapi/tests/test_webhook.py
        reviewboard/webapi/resources/webhook.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/webapi/tests/test_webhook.py
        reviewboard/webapi/resources/webhook.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (a7b3208)
Loading...