mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57: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
|
yield k
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
raise StopIteration
|
|
||||||
|
|
||||||
def wait_pyinotify(self, bld):
|
def wait_pyinotify(self, bld):
|
||||||
|
|
||||||
|
@ -626,7 +626,6 @@ class Node(object):
|
|||||||
if maxdepth:
|
if maxdepth:
|
||||||
for k in node.ant_iter(accept=accept, maxdepth=maxdepth - 1, pats=npats, dir=dir, src=src, remove=remove, quiet=quiet):
|
for k in node.ant_iter(accept=accept, maxdepth=maxdepth - 1, pats=npats, dir=dir, src=src, remove=remove, quiet=quiet):
|
||||||
yield k
|
yield k
|
||||||
raise StopIteration
|
|
||||||
|
|
||||||
def ant_glob(self, *k, **kw):
|
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 k in ('', '5') if Utils.is_win32 else ['']:
|
||||||
for p in ('lib', ''):
|
for p in ('lib', ''):
|
||||||
yield (p, name, k, x)
|
yield (p, name, k, x)
|
||||||
raise StopIteration
|
|
||||||
|
|
||||||
for tup in lib_names():
|
for tup in lib_names():
|
||||||
k = ''.join(tup)
|
k = ''.join(tup)
|
||||||
|
@ -402,7 +402,6 @@ class package_reader(Context.Context):
|
|||||||
if x.pkgname == self.myproject:
|
if x.pkgname == self.myproject:
|
||||||
continue
|
continue
|
||||||
yield x
|
yield x
|
||||||
raise StopIteration
|
|
||||||
|
|
||||||
def execute(self):
|
def execute(self):
|
||||||
self.compute_dependencies()
|
self.compute_dependencies()
|
||||||
|
Loading…
Reference in New Issue
Block a user