Fix Review Bot when SITE_ROOT is used

Review Request #4036 — Created April 10, 2013 and submitted

Information

ReviewBot

Reviewers

Fix Review Bot when SITE_ROOT is used.

When the extension would pass the Review Board instance url to the
workers it was not including SITE_ROOT. This would cause Review Bot to
fail when Review Board was not installed at the root of a domain.

The SITE_ROOT is now included in the generated urls.

Closes #6
Ran a Review Board development server with both SITE_ROOT='/', and SITE_ROOT='/rb/'. Review Bot functioned properly in both instances.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        extension/reviewbotext/extension.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
SM
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (f383dded7c8dccb4bbc009d87256ed1436882ae5).
Loading...