From 0e6bdf67779ae264a400a7f28707e65846dcedc8 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Tue, 15 Dec 2009 08:30:27 +0000 Subject: [PATCH] Let localname for Components be optional --- pisi/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/component.py b/pisi/component.py index c760b453..4f940742 100644 --- a/pisi/component.py +++ b/pisi/component.py @@ -61,7 +61,7 @@ class Component(xmlfile.XmlFile): # LocalName for system.base could be sistem.taban or "Taban Sistem", # this could be useful for GUIs - t_LocalName = [autoxml.LocalText, autoxml.mandatory] + t_LocalName = [autoxml.LocalText, autoxml.optional] # Information about the component t_Summary = [autoxml.LocalText, autoxml.mandatory]