summarylogtreecommitdiffstats
path: root/lilv-no-empty-collection-assert.patch
blob: 78bbd9f8e61151128d8b1bf4a0e5784c0274f1d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/bindings/python/lilv.py b/bindings/python/lilv.py
index c548e98..4eee419 100644
--- a/bindings/python/lilv.py
+++ b/bindings/python/lilv.py
@@ -929,7 +929,6 @@ class Plugins(Collection):
 
     def __init__(self, world, collection):
         assert type(collection) == POINTER(Plugins)
-        assert collection
 
         def constructor(world, plugin):
             return Plugin.wrap(world, plugin)
@@ -975,7 +974,6 @@ class PluginClasses(Collection):
 
     def __init__(self, world, collection, owning=False):
         assert type(collection) == POINTER(PluginClasses)
-        assert collection
 
         self.owning = owning
         super(PluginClasses, self).__init__(
@@ -1027,7 +1025,6 @@ class UIs(Collection):
 
     def __init__(self, world, collection):
         assert type(collection) == POINTER(UIs)
-        assert collection
         super(UIs, self).__init__(
             world,
             collection,