Fix dependency warnings preventing manage.py from running.

Review Request #9562 — Created Feb. 1, 2018 and submitted

Information

Review Board
release-3.0.x
ef0024b...

Reviewers

A recent change added improved dependency warning/error output and
tracking, but due to a design error from a later iteration of this
change, we were treating warnings as errors, exiting the process when
optional dependencies weren't found.

This change updates this code to track warnings and errors separately,
printing help information whenever there are any dependency-related
messages printed but only exiting if there were errors.

Tested running manage.py runserver without any dependency messages,
with dependency warnings only, with dependency errors only, and with
a mixture.

Help output was always printed when dependency-related messages were
logged, but only exited if there were errors.

brennie
  1. Ship It!
  2. 
      
RI
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (2077bf4)
Loading...