HomeSolus

Update python-colorlog to 4.0.2

Authored by algent on Nov 29 2019, 1:45 AM.

Description

Update python-colorlog to 4.0.2

Summary:
Removed python2. This is a rundependency only for rapid-photo-downloader.

Summarized changelog:

  • TTYColoredFormatter requires the stream argument, avoiding checking the wrong stream and still displaying colors when it shouldn't.
  • Remove Python 2 only features. This removed the use of parse_colors directly in format strings, as it relied on an implementation specific detail of Python 2 and was broken on Python 3 (i.e. setting missing on an object's dict). It also adds some usage examples.
  • Various minor bug fixes and improvements.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan: Run rapid-photo-downloader.

Reviewers: Triage Team, JoshStrobl

Reviewed By: Triage Team, JoshStrobl

Subscribers: JoshStrobl

Differential Revision: https://dev.getsol.us/D7670

Details

Committed
JoshStroblNov 29 2019, 1:45 AM
Pushed
JoshStroblNov 29 2019, 1:45 AM
Reviewer
Triage Team
Differential Revision
D7670: Update python-colorlog to 4.0.2
Parents
R3668:bc8ef0594c7f: Rebuild for python 3.6
Branches
Unknown
Tags
Unknown
References
tag: python-colorlog-4.0.2-3