From d5076bbd01cc0e9bcb6c8ddd27a109a3a4bd17bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Sun, 31 Jul 2005 04:07:24 +0000 Subject: [PATCH] =?UTF-8?q?=C3=87a=C4=9Flar'=C4=B1n=20bildirdi=C4=9Fi=20"M?= =?UTF-8?q?etadata=20i=C3=A7erisine=20yaln=C4=B1zca=20ilk=20Path=20yaz?= =?UTF-8?q?=C4=B1l=C4=B1yor"=20sorunu...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aslında bu yamadan önceki hali ile hiçbir tagın altına birden fazla yeni girdi yapamıyormuşuz. Epey bir süre metadata.py ve specfile.py'den şüphelendikten sonra gerçek sorumluyu güç olsa da buldum, sonrasında çözüm kolaydı :). --- pisi/xmlext.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pisi/xmlext.py b/pisi/xmlext.py index 48070298..b6d8d55d 100644 --- a/pisi/xmlext.py +++ b/pisi/xmlext.py @@ -135,5 +135,8 @@ def addNode(dom, node, tagpath, newnode = None): return addTagPath(dom, node, tags, newnode) else: node = nodeList[len(nodeList)-1] + else: + # had only one tag.. + return addTagPath(dom, node, tags, newnode) return node