]>
Commit | Line | Data |
---|---|---|
91d1c8a9 MT |
1 | From 9accbba591014c8b2b0cb1c0b7c4fbf914caba8e Mon Sep 17 00:00:00 2001 |
2 | From: Michael Tremer <michael.tremer@ipfire.org> | |
3 | Date: Thu, 24 Jan 2013 02:44:53 +0100 | |
4 | Subject: [PATCH 08/17] FilePackage: Initialize _type. | |
5 | ||
6 | --- | |
7 | python/pakfire/packages/file.py | 2 ++ | |
8 | 1 file changed, 2 insertions(+) | |
9 | ||
10 | diff --git a/python/pakfire/packages/file.py b/python/pakfire/packages/file.py | |
11 | index 039103e..7cf3630 100644 | |
12 | --- a/python/pakfire/packages/file.py | |
13 | +++ b/python/pakfire/packages/file.py | |
14 | @@ -46,6 +46,8 @@ class FilePackage(base.Package): | |
15 | This class is a wrapper that reads package data from the (outer) | |
16 | tarball and should never be used solely. | |
17 | """ | |
18 | + _type = None | |
19 | + | |
20 | def __init__(self, pakfire, repo, filename): | |
21 | base.Package.__init__(self, pakfire, repo) | |
22 | self.filename = os.path.abspath(filename) | |
23 | -- | |
24 | 1.8.1.2 | |
25 |