[gtk-doc/ebassi/python3-fixes: 1/3] Fix for NameError: name 'reduce' is not defined




commit 2141978f4949aa886043521de9c771fba360ba33
Author: Niveditha Rau <niveditha rau oracle com>
Date:   Thu Oct 29 13:36:40 2020 -0700

    Fix for NameError: name 'reduce' is not defined

 gtkdoc-depscan.in | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtkdoc-depscan.in b/gtkdoc-depscan.in
index 9bfaf30..a41d0a6 100755
--- a/gtkdoc-depscan.in
+++ b/gtkdoc-depscan.in
@@ -4,6 +4,7 @@ from __future__ import print_function
 
 import gzip, os.path, re
 
+from functools import reduce
 from os import environ, popen, walk
 from optparse import OptionParser
 from sys import stderr


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]