From 17402c3afcd81962c68f9debc39d14b07d504854 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sun, 29 May 2011 19:32:14 +0100 Subject: [PATCH] Added dummy Element to avoid 0install type check --- support.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support.py b/support.py index ad778ca..a1798ac 100644 --- a/support.py +++ b/support.py @@ -64,7 +64,8 @@ class Mappings: print "Ignoring dependency on %s; not in mappings file" % pkg return None - r = model.InterfaceDependency(self.mappings[pkg]) + e = qdom.Element(XMLNS_IFACE, "requires", {}) + r = model.InterfaceDependency(self.mappings[pkg], element = e) # TODO: version restrictions return r -- 2.11.4.GIT