summarylogtreecommitdiffstats
path: root/lilv-no-empty-collection-assert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lilv-no-empty-collection-assert.patch')
-rw-r--r--lilv-no-empty-collection-assert.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/lilv-no-empty-collection-assert.patch b/lilv-no-empty-collection-assert.patch
new file mode 100644
index 000000000000..78bbd9f8e611
--- /dev/null
+++ b/lilv-no-empty-collection-assert.patch
@@ -0,0 +1,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,