From e395dd6a115cd5ba9e98321f3ca4b262c4d0e52b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Apr 2015 12:03:36 +0000 Subject: Fix bindings for Python 3. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5675 a436a847-0d15-0410-975c-d299462d15a1 --- bindings/lilv.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings/lilv.i') diff --git a/bindings/lilv.i b/bindings/lilv.i index c4c33fb..8bbdd3f 100644 --- a/bindings/lilv.i +++ b/bindings/lilv.i @@ -32,8 +32,8 @@ namespace Lilv { def __init__(self, plugins): self.plugins = plugins self.iter = plugins.begin() - - def next(self): + + def __next__(self): if self.plugins.is_end(self.iter): raise StopIteration plugin = self.plugins.get(self.iter) -- cgit v1.2.1