From 35a5018d125186596504b81fbf3831a5d4eebd60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Wed, 24 Nov 2010 06:42:26 +0000 Subject: [PATCH] index: Remove faulty and unused name() method distribution class doesn't have any members called name and repositoryname. --- pisi/index.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pisi/index.py b/pisi/index.py index e5167dc6..6e2ac4a1 100644 --- a/pisi/index.py +++ b/pisi/index.py @@ -46,9 +46,6 @@ class Index(xmlfile.XmlFile): t_Components = [ [component.Component], autoxml.optional, "Component"] t_Groups = [ [group.Group], autoxml.optional, "Group"] - def name(self): - return self.distribution.name + self.distribution.repositoryname - def read_uri(self, uri, tmpdir, force = False): return self.read(uri, tmpDir=tmpdir, sha1sum=not force, compress=pisi.file.File.COMPRESSION_TYPE_AUTO,