diff --git a/solumdashboard/applications/tables.py b/solumdashboard/applications/tables.py index 46f309e..05c54d8 100644 --- a/solumdashboard/applications/tables.py +++ b/solumdashboard/applications/tables.py @@ -70,13 +70,13 @@ class ApplicationsTable(tables.DataTable): uuid = tables.Column('uuid', verbose_name=_('UUID'), link=("horizon:solum:applications:detail")) name = tables.Column('name', verbose_name=_('Name')) - #git_url = tables.Column('git_url', verbose_name=_('GitUrl')) + # git_url = tables.Column('git_url', verbose_name=_('GitUrl')) description = tables.Column('description', verbose_name=_('Description')) def get_object_id(self, app): return app.uuid - class Meta: + class Meta(object): name = "applications" verbose_name = _("Applications") table_actions = (CreateApplication, DeleteApplication) diff --git a/solumdashboard/applications/workflows/create.py b/solumdashboard/applications/workflows/create.py index 18844e5..8e81b51 100644 --- a/solumdashboard/applications/workflows/create.py +++ b/solumdashboard/applications/workflows/create.py @@ -36,7 +36,7 @@ class GitUrlAction(workflows.Action): def __init__(self, request, *args, **kwargs): super(GitUrlAction, self).__init__(request, *args, **kwargs) - class Meta: + class Meta(object): name = _("Select git url for the application") help_text_template = ("applications/_create_general_help.html") diff --git a/solumdashboard/applications/workflows/launch.py b/solumdashboard/applications/workflows/launch.py index fbf43a5..16dcd13 100644 --- a/solumdashboard/applications/workflows/launch.py +++ b/solumdashboard/applications/workflows/launch.py @@ -40,7 +40,7 @@ class ConfigAssemblyAction(workflows.Action): widget=forms.HiddenInput(), initial=plan_uri) - class Meta: + class Meta(object): name = _("Configure name and description") help_text_template = "applications/_launch_configure_help.html" diff --git a/solumdashboard/assemblies/tables.py b/solumdashboard/assemblies/tables.py index c7bd9ef..2a0ddce 100644 --- a/solumdashboard/assemblies/tables.py +++ b/solumdashboard/assemblies/tables.py @@ -63,7 +63,7 @@ class AssembliesTable(tables.DataTable): def get_object_id(self, app): return app.uuid - class Meta: + class Meta(object): name = "assemblies" verbose_name = _("Assemblies") table_actions = (DeleteAssembly,) diff --git a/solumdashboard/exceptions.py b/solumdashboard/exceptions.py index a3c2234..bef4b6d 100644 --- a/solumdashboard/exceptions.py +++ b/solumdashboard/exceptions.py @@ -14,7 +14,7 @@ # limitations under the License. from openstack_dashboard import exceptions -#from solumclient.openstack.common.apiclient import exceptions as solumclient +# from solumclient.openstack.common.apiclient import exceptions as solumclient NOT_FOUND = exceptions.NOT_FOUND RECOVERABLE = exceptions.RECOVERABLE