From b66a20c1cd7849cac31e24faf570f0c4a1ca3db1 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Fri, 12 Jun 2009 18:28:27 +0000 Subject: [PATCH] parse comes from Xmlfile --- pisi/component.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/component.py b/pisi/component.py index fcdcf99d..16212125 100644 --- a/pisi/component.py +++ b/pisi/component.py @@ -50,7 +50,7 @@ class Distribution(xmlfile.XmlFile): t_Obsoletes = [ [Obsolete], autoxml.optional, "Obsoletes/Package"] -class Component: +class Component(xmlfile.XmlFile): "representation for component declarations" __metaclass__ = autoxml.autoxml @@ -85,7 +85,7 @@ class Components(xmlfile.XmlFile): t_Components = [ [Component], autoxml.optional, "Components/Component" ] # FIXME: there will be no component.xml only components.xml -class CompatComponent(Component, xmlfile.XmlFile): +class CompatComponent(Component): tag = "PISI"