mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Python 3.7 fixes #2126
This commit is contained in:
parent
de992ea840
commit
facdc0b173
@ -107,7 +107,6 @@ class DirWatch(object):
|
||||
yield k
|
||||
except AttributeError:
|
||||
pass
|
||||
raise StopIteration
|
||||
|
||||
def wait_pyinotify(self, bld):
|
||||
|
||||
|
@ -626,7 +626,6 @@ class Node(object):
|
||||
if maxdepth:
|
||||
for k in node.ant_iter(accept=accept, maxdepth=maxdepth - 1, pats=npats, dir=dir, src=src, remove=remove, quiet=quiet):
|
||||
yield k
|
||||
raise StopIteration
|
||||
|
||||
def ant_glob(self, *k, **kw):
|
||||
"""
|
||||
|
@ -625,7 +625,6 @@ def find_single_qt5_lib(self, name, uselib, qtlibs, qtincludes, force_static):
|
||||
for k in ('', '5') if Utils.is_win32 else ['']:
|
||||
for p in ('lib', ''):
|
||||
yield (p, name, k, x)
|
||||
raise StopIteration
|
||||
|
||||
for tup in lib_names():
|
||||
k = ''.join(tup)
|
||||
|
@ -402,7 +402,6 @@ class package_reader(Context.Context):
|
||||
if x.pkgname == self.myproject:
|
||||
continue
|
||||
yield x
|
||||
raise StopIteration
|
||||
|
||||
def execute(self):
|
||||
self.compute_dependencies()
|
||||
|
Loading…
Reference in New Issue
Block a user