git-p4: use functools.reduce instead of reduce
authorYang Zhao <yang.zhao@skyboxlabs.com>
Fri, 13 Dec 2019 23:52:44 +0000 (15:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Jan 2020 20:53:40 +0000 (12:53 -0800)
commita6b1306735f1a6450f22f562275c994d03324672
tree6aa8130ce56295dfc9908f689f9e9b3b7adc169f
parent4294d741cc13e1f5533efaa693e4479c62b28873
git-p4: use functools.reduce instead of reduce

For python3, reduce() has been moved to functools.reduce().  This is
also available in python2.7.

Signed-off-by: Yang Zhao <yang.zhao@skyboxlabs.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py