summaryrefslogtreecommitdiffstats
path: root/swig/lv2_list.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-11-15 09:15:33 +0000
committerDavid Robillard <d@drobilla.net>2007-11-15 09:15:33 +0000
commitdb565e6ca775772d806f7a8c1c20a46af4e52385 (patch)
treef12dc0efa53d9358bcbb276d61095fa57137ac41 /swig/lv2_list.py
parentf509434f4d87337243865d928e4fb2c6124c9cd3 (diff)
downloadlilv-db565e6ca775772d806f7a8c1c20a46af4e52385.tar.gz
lilv-db565e6ca775772d806f7a8c1c20a46af4e52385.tar.bz2
lilv-db565e6ca775772d806f7a8c1c20a46af4e52385.zip
0.3.1 release.
Debian package building via 'make deb'. Idiomatic Python iteration. git-svn-id: http://svn.drobilla.net/lad/slv2@917 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'swig/lv2_list.py')
-rwxr-xr-xswig/lv2_list.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/swig/lv2_list.py b/swig/lv2_list.py
index 0f6e248..4dc4f97 100755
--- a/swig/lv2_list.py
+++ b/swig/lv2_list.py
@@ -4,7 +4,5 @@ import slv2;
w = slv2.World()
w.load_all()
-plugins = w.get_all_plugins()
-
-for i in range(0, plugins.size()):
- print plugins[i].uri()
+for p in w.get_all_plugins():
+ print p.uri()