From d7c2ea8dcf8675845499e0b31270196c3e8ffb4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 13 Jun 2005 11:06:29 +0000 Subject: [PATCH] =?UTF-8?q?debug/test=20sat=C4=B1rlar=C4=B1n=C4=B1=20specf?= =?UTF-8?q?ile.py'den=20tests/getTextForNode'a=20ta=C5=9F=C4=B1d=C4=B1m.?= =?UTF-8?q?=20tests=20i=C3=A7erisindeki=20=C3=B6rneklerin=20tekrar=20?= =?UTF-8?q?=C3=A7al=C4=B1=C5=9Fmas=C4=B1=20i=C3=A7in=20gerekli=20d=C3=BCze?= =?UTF-8?q?nlemeyi=20yapt=C4=B1m.=20Bu=20testleri=20unittest=20mimarisine?= =?UTF-8?q?=20ta=C5=9F=C4=B1may=C4=B1=20d=C3=BC=C5=9F=C3=BCnmeliyiz.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pisi/specfile.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/pisi/specfile.py b/src/pisi/specfile.py index 9517e945..2621742f 100644 --- a/src/pisi/specfile.py +++ b/src/pisi/specfile.py @@ -53,20 +53,13 @@ class SpecFile(XmlFile): self.archiveMD5 = getNodeAttribute(archiveNode, "md5sum") patchElts = self.getChildElts("Source/Patches") self.patches = [ PatchInfo(p) for p in patchElts ] - for x in self.patches: - print "patch fn:", x.filename - print "patch ct:", x.compressionType + buildDepElts = self.getChildElts("Source/BuildDependencies") self.buildDeps = [DepInfo(d) for d in buildDepElts] - for x in self.buildDeps: - print "dep nm:", x.package - print "dep vf:", x.versionFrom # find all binary packages packageElts = self.getAllNodes("Package") self.packages = [PackageInfo(p) for p in packageElts] - for x in self.packages: - print 'package', x.name def verify(self): """Verify PSPEC structures, are they what we want of them?"""