From: Michael Tremer Date: Thu, 24 Jan 2013 01:44:53 +0000 (+0100) Subject: FilePackage: Initialize _type. X-Git-Tag: 0.9.25~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9accbba591014c8b2b0cb1c0b7c4fbf914caba8e;p=pakfire.git FilePackage: Initialize _type. --- diff --git a/python/pakfire/packages/file.py b/python/pakfire/packages/file.py index 039103edf..7cf3630c3 100644 --- a/python/pakfire/packages/file.py +++ b/python/pakfire/packages/file.py @@ -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)