summaryrefslogtreecommitdiffstats
path: root/swig/lv2_list.py
diff options
context:
space:
mode:
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()