Commits

Pierre-Yves David committed 3d3b78d

when stdlib iglob is not available use glob instead for extended iblog.

  • Participants
  • Parent commits a35da5d

Comments (0)

Files changed (1)

File distutils2/util.py

 from subprocess import call as sub_call
 from copy import copy
 from fnmatch import fnmatchcase
-from glob import iglob as std_iglob
+try:
+    from glob import iglob as std_iglob
+except ImportError:
+    from glob import glob as std_iglob # for python < 2.5
 from ConfigParser import RawConfigParser
 from inspect import getsource