2
0
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:
Thomas Nagy 2018-03-12 20:42:55 +01:00
parent de992ea840
commit facdc0b173
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
4 changed files with 0 additions and 4 deletions

View File

@ -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):

View File

@ -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):
""" """

View File

@ -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)

View File

@ -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()