traffic: remove useless branch in stats report
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 22 Nov 2018 02:09:00 +0000 (15:09 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 8 Jan 2019 22:55:34 +0000 (23:55 +0100)
commitdb51004307a19447bb0ca2259cd7a49f4efc1874
tree1156b089dc238e3573ab54ac9f0c6a185f484d0f
parentd727dcc82a8843d72922ae3f89b6a778dff9d565
traffic: remove useless branch in stats report

This completes the work of 68c64c634ad7576b2ab5ef838c203320afd90f44,
but differs from that in that it makes no actual change because isatty
was not being called so was always evaluated as true.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/emulate/traffic.py