- missing "shutil" import
- missing "self" in method "name".
This commit is contained in:
+2
-1
@@ -13,6 +13,7 @@
|
|||||||
"""PiSi source/package index"""
|
"""PiSi source/package index"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import shutil
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
__trans = gettext.translation('pisi', fallback=True)
|
__trans = gettext.translation('pisi', fallback=True)
|
||||||
@@ -48,7 +49,7 @@ class Index(XmlFile):
|
|||||||
#t_Metadatas = [ [metadata.MetaData], autoxml.optional, "MetaData"]
|
#t_Metadatas = [ [metadata.MetaData], autoxml.optional, "MetaData"]
|
||||||
t_Components = [ [component.Component], autoxml.optional, "Component"]
|
t_Components = [ [component.Component], autoxml.optional, "Component"]
|
||||||
|
|
||||||
def name():
|
def name(self):
|
||||||
return self.distribution.name + self.distribution.repositoryname
|
return self.distribution.name + self.distribution.repositoryname
|
||||||
|
|
||||||
def read_uri(self, uri, tmpdir, force = False):
|
def read_uri(self, uri, tmpdir, force = False):
|
||||||
|
|||||||
Reference in New Issue
Block a user