[SCM] zynjacku/master: 0003-syntax_error_exception.patch: Fix syntax error exception.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Thu Feb 10 13:39:31 UTC 2011
The following commit has been merged in the master branch:
commit 489ff895252dc0ae1c6e3574e117539cc079418d
Author: Alessio Treglia <alessio at debian.org>
Date: Thu Feb 10 14:39:29 2011 +0100
0003-syntax_error_exception.patch: Fix syntax error exception.
diff --git a/debian/patches/0003-syntax_error_exception.patch b/debian/patches/0003-syntax_error_exception.patch
new file mode 100644
index 0000000..758501f
--- /dev/null
+++ b/debian/patches/0003-syntax_error_exception.patch
@@ -0,0 +1,35 @@
+From: Nedko Arnaudov <nedko at arnaudov.name>
+Description: Fix syntax error exception.
+Origin: upstream, commit:2a3470d48bd658d8e5d0062de3cd6ac6bfc5e7f9
+Bug: https://gna.org/bugs/?15558
+---
+ zynworld/lv2.py | 12 ++++--------
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+--- zynjacku.orig/zynworld/lv2.py
++++ zynjacku/zynworld/lv2.py
+@@ -127,20 +127,16 @@ class SimpleRDFModel:
+ return list(anyprops)
+
+ def add_object_source(self, uri, source):
+- if o not in self.object_sources:
+- self.object_sources[o] = set((source,))
+- else:
+- self.object_sources[o].add(source)
++ if uri not in self.object_sources:
++ self.object_sources[uri] = set()
++ self.object_sources[uri].add(source)
+
+ def addTriple(self, s, p, o, source=None):
+ self.len += 1
+
+ #if p == lv2 + "binary":
+ # print 'binary "%s" of %s found' % (o, s)
+- if o not in self.object_sources:
+- self.object_sources[o] = set((source,))
+- else:
+- self.object_sources[o].add(source)
++ self.add_object_source(o, source)
+ if p == rdf_type:
+ p = "a"
+ #if p == 'a' and o == lv2preset_preset:
--
zynjacku packaging
More information about the pkg-multimedia-commits
mailing list