]> git.ipfire.org Git - pakfire.git/commitdiff
FilePackage: Initialize _type.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jan 2013 01:44:53 +0000 (02:44 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jan 2013 01:44:53 +0000 (02:44 +0100)
python/pakfire/packages/file.py

index 039103edf0080ae61d08fcb4ead4f57518d36d58..7cf3630c3f145f69b86874785b846d1704bed815 100644 (file)
@@ -46,6 +46,8 @@ class FilePackage(base.Package):
                This class is a wrapper that reads package data from the (outer)
                tarball and should never be used solely.
        """
+       _type = None
+
        def __init__(self, pakfire, repo, filename):
                base.Package.__init__(self, pakfire, repo)
                self.filename = os.path.abspath(filename)