]> arthur.barton.de Git - bup.git/commit
qprogress(): Check if stderr is connected to a terminal
authorAlexander Barton <alex@barton.de>
Sun, 28 Dec 2014 19:31:23 +0000 (20:31 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 31 Dec 2014 17:48:11 +0000 (18:48 +0100)
commit2c701c08a2785434f8bebf84a82e1eeae116e531
treeba9b4d82557f7a5ccf1999a1d9125b7f89326ff6
parent5b6fb694deeea5ccd04a214eef78a9b045246a3e
qprogress(): Check if stderr is connected to a terminal

This minimize overhead of the time() function when stderr is not
connected to a terminal.

Signed-off-by: Alexander Barton <alex@barton.de>
lib/bup/helpers.py