Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

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 @@ ...@@ -2,7 +2,7 @@
""" """
from gluon import current from gluon import current
from plugin_dbui import CALLBACK_ERRORS from .plugin_dbui import CALLBACK_ERRORS
def country_delete(s): def country_delete(s):
......
# -*- coding: utf-8 -*-
"""Definitions of the core tables """Definitions of the core tables
""" """
from callbacks import (country_delete, from .callbacks import (country_delete,
country_insert, country_insert,
country_update) country_update)
from gluon import current from gluon import current
from gluon.validators import (IS_EMPTY_OR, from gluon.validators import (IS_EMPTY_OR,
...@@ -14,10 +13,10 @@ from gluon.validators import (IS_EMPTY_OR, ...@@ -14,10 +13,10 @@ from gluon.validators import (IS_EMPTY_OR,
IS_IN_SET, IS_IN_SET,
IS_URL) IS_URL)
from plugin_dbui import (CLEAN_SPACES, from .plugin_dbui import (CLEAN_SPACES,
INHIBIT_DELETE_UNDEF, INHIBIT_DELETE_UNDEF,
INHIBIT_UPDATE_UNDEF, INHIBIT_UPDATE_UNDEF,
UNDEF_ID) UNDEF_ID)
from pydal import Field from pydal import Field
......
# -*- coding: utf-8 -*-
"""Definitions of the selector(s) """Definitions of the selector(s)
""" """
......
# -*- coding: utf-8 -*-
"""User Interface for the core tables """User Interface for the core tables
""" """
from gluon import current from gluon import current
from plugin_dbui import (FieldsModifier, from .plugin_dbui import (FieldsModifier,
FormModifier, FormModifier,
GridModifier, GridModifier,
StoreModifier, StoreModifier,
map_tabpanel) map_tabpanel)
TPL = [ TPL = [
'<b>{PublicationsTitle}</b><br>', '<b>{PublicationsTitle}</b><br>',
......
# -*- coding: utf-8 -*-
"""User Interface for the selector tables """User Interface for the selector tables
""" """
from plugin_dbui import FieldsModifier, FormModifier from .plugin_dbui import FieldsModifier, FormModifier
class SelectorUI(object): class SelectorUI(object):
......
# -*- coding: utf-8 -*-
"""Main user interface the viewport """Main user interface the viewport
""" """
...@@ -6,13 +5,13 @@ from gluon import current ...@@ -6,13 +5,13 @@ from gluon import current
from gluon.html import URL from gluon.html import URL
from gluon.tools import PluginManager from gluon.tools import PluginManager
from plugin_dbui import (Node, from .plugin_dbui import (Node,
Panel, Panel,
to_formPanel, to_formPanel,
to_gridPanel, to_gridPanel,
to_panelWithUrlSelector, to_panelWithUrlSelector,
ViewportModifier, ViewportModifier,
Window) Window)
def to_grid(tablename): 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