index: Remove faulty and unused name() method

distribution class doesn't have any members called name and
repositoryname.
This commit is contained in:
Ozan Çağlayan
2010-11-24 06:42:26 +00:00
parent 361363fa60
commit 35a5018d12
-3
View File
@@ -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,