post-review: show debugging output even before options are parsed if enabled in-source

Review Request #519 — Created Aug. 31, 2008 and submitted

Information

Review Board SVN (deprecated)
627

Reviewers

While trying to debug post-review, I noticed that debug() fails to produce output before the command-line options have been parsed--even if you modify the code to set 'DEBUG' to True.

This patch checks DEBUG in addition to the command line argument.
Ran it (and saw debugging output prior to option parsing) - Ubuntu 8.04 32-bit
david
  1. Looks good.  Committed as r1481.
  2. 
      
Loading...