Verified Commit facdc0b1 authored by ita1024's avatar ita1024

Python 3.7 fixes #2126

parent de992ea8
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment