Add patch that allows package to work with Python 2.6 and 2.7. Obtained

from the vendor.
This commit is contained in:
Maxim Sobolev 2012-02-19 04:23:57 +00:00
parent 97f889906f
commit ab9621d1bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291778
2 changed files with 15 additions and 2 deletions

View file

@ -7,9 +7,9 @@
PORTNAME= dal
PORTVERSION= 20081016
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= http://devel.sippysoft.com:8080/~bamby/
MASTER_SITES= http://download.sippysoft.com/bamby/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bamby@sippysoft.com

View file

@ -0,0 +1,13 @@
$FreeBSD$
--- dal/dbapi/db_row.py
+++ dal/dbapi/db_row.py
@@ -699,7 +699,6 @@
assert '__init__' not in cls_dict
def __init__(self, fields):
- super(row_class, self).__init__(fields)
self.fields = field_class(fields)
row_class.__init__ = __init__