Commit 68a2d2f8 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update modules by applying 2to3 converter.

parent 6a4b5e58
......@@ -2,7 +2,7 @@
"""
from gluon import current
from plugin_dbui import CALLBACK_ERRORS
from .plugin_dbui import CALLBACK_ERRORS
def country_delete(s):
......
# -*- coding: utf-8 -*-
"""Definitions of the core tables
"""
from callbacks import (country_delete,
country_insert,
country_update)
from .callbacks import (country_delete,
country_insert,
country_update)
from gluon import current
from gluon.validators import (IS_EMPTY_OR,
......@@ -14,10 +13,10 @@ from gluon.validators import (IS_EMPTY_OR,
IS_IN_SET,
IS_URL)
from plugin_dbui import (CLEAN_SPACES,
INHIBIT_DELETE_UNDEF,
INHIBIT_UPDATE_UNDEF,
UNDEF_ID)
from .plugin_dbui import (CLEAN_SPACES,
INHIBIT_DELETE_UNDEF,
INHIBIT_UPDATE_UNDEF,
UNDEF_ID)
from pydal import Field
......
# -*- coding: utf-8 -*-
"""Definitions of the selector(s)
"""
......
# -*- coding: utf-8 -*-
"""User Interface for the core tables
"""
from gluon import current
from plugin_dbui import (FieldsModifier,
FormModifier,
GridModifier,
StoreModifier,
map_tabpanel)
from .plugin_dbui import (FieldsModifier,
FormModifier,
GridModifier,
StoreModifier,
map_tabpanel)
TPL = [
'<b>{PublicationsTitle}</b><br>',
......
# -*- coding: utf-8 -*-
"""User Interface for the selector tables
"""
from plugin_dbui import FieldsModifier, FormModifier
from .plugin_dbui import FieldsModifier, FormModifier
class SelectorUI(object):
......
# -*- coding: utf-8 -*-
"""Main user interface the viewport
"""
......@@ -6,13 +5,13 @@ from gluon import current
from gluon.html import URL
from gluon.tools import PluginManager
from plugin_dbui import (Node,
Panel,
to_formPanel,
to_gridPanel,
to_panelWithUrlSelector,
ViewportModifier,
Window)
from .plugin_dbui import (Node,
Panel,
to_formPanel,
to_gridPanel,
to_panelWithUrlSelector,
ViewportModifier,
Window)
def to_grid(tablename):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment