Add python 3 support

This commit is contained in:
jmartin 2016-03-29 12:00:25 +02:00
parent 7d5eb365e1
commit 0be4779e31
2 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@ from trytond.model import fields
from trytond.pool import PoolMeta
__all__ = ['Configuration']
__metaclass__ = PoolMeta
class Configuration:
__metaclass__ = PoolMeta
__name__ = 'galatea.configuration'
tutorial_thumb_size = fields.Integer('Tutorial Thumb Size',
help='Thumbnail Tutorial Image Size (width x height)')

View File

@ -6,10 +6,10 @@ from trytond.model import fields
from trytond.pyson import Eval
__all__ = ['GalateaWebSite']
__metaclass__ = PoolMeta
class GalateaWebSite:
__metaclass__ = PoolMeta
__name__ = "galatea.website"
tutorial_comment = fields.Boolean('Tutorial Comments',
help='Active tutorial comments.')