pandora-pndstore: Added patch so it will work with our Python version
[openpandora.oe.git] / recipes / pandora-system / pandora-pndstore / 0001-Fix-Deprecated-object__new__.patch
1 diff --git a/pndstore_core/packages.py b/pndstore_core/packages.py
2 *** a/pndstore_core/packages.py 2011-06-17 00:30:14.869582901 +0200
3 --- b/pndstore_core/packages.py 2011-06-17 00:32:36.216122544 +0200
4 ***************
5 *** 127,133 ****
6           try:
7               return cls._existing[pkgid]
8           except KeyError:
9 !             p = object.__new__(cls, pkgid)
10               cls._existing[pkgid] = p
11               return p
12   
13 --- 127,133 ----
14           try:
15               return cls._existing[pkgid]
16           except KeyError:
17 !             p = object.__new__(cls)
18               cls._existing[pkgid] = p
19               return p
20   
21