HomePhabricator

util: flush stderr explicitly after using warnings.warn()

Authored by pulkit.

Description

util: flush stderr explicitly after using warnings.warn()

Due to some unknown reasons, when using chg with python3, the warnings.warn()
output is not flushed.

Fixes test-devel-warnings.t on py3 with chg.

Details

Committed
pulkitJun 19 2020, 11:12 AM
Parents
rHGfa151f7af275: phases: improve performance of _retractboundary
Branches
Unknown
Tags
Unknown