Remove extra whitespace
There are extra whitespace the patch file, so we should remove them to make code more clear Change-Id: Ic70c8cdd24d009de51f671f311c064415e02f8af
This commit is contained in:
parent
cacd93ea49
commit
cc63050ce1
@ -46,12 +46,12 @@ from openstack_dashboard.dashboards.project.routers import\
|
||||
views as r_views
|
||||
|
||||
|
||||
class NTCreateRouterView (r_views.CreateView):
|
||||
class NTCreateRouterView(r_views.CreateView):
|
||||
template_name = 'project/network_topology/create_router.html'
|
||||
success_url = reverse_lazy("horizon:project:network_topology:index")
|
||||
|
||||
|
||||
class NTCreateNetwork (n_workflows.CreateNetwork):
|
||||
class NTCreateNetwork(n_workflows.CreateNetwork):
|
||||
def get_success_url(self):
|
||||
return reverse("horizon:project:network_topology:index")
|
||||
|
||||
@ -59,34 +59,34 @@ class NTCreateNetwork (n_workflows.CreateNetwork):
|
||||
return reverse("horizon:project:network_topology:index")
|
||||
|
||||
|
||||
class NTCreateNetworkView (n_views.CreateView):
|
||||
class NTCreateNetworkView(n_views.CreateView):
|
||||
workflow_class = NTCreateNetwork
|
||||
|
||||
|
||||
class NTLaunchInstance (i_workflows.LaunchInstance):
|
||||
class NTLaunchInstance(i_workflows.LaunchInstance):
|
||||
success_url = "horizon:project:network_topology:index"
|
||||
|
||||
|
||||
class NTLaunchInstanceView (i_views.LaunchInstanceView):
|
||||
class NTLaunchInstanceView(i_views.LaunchInstanceView):
|
||||
workflow_class = NTLaunchInstance
|
||||
|
||||
|
||||
class InstanceView (i_views.IndexView):
|
||||
class InstanceView(i_views.IndexView):
|
||||
table_class = instances_tables.InstancesTable
|
||||
template_name = 'project/network_topology/iframe.html'
|
||||
|
||||
|
||||
class RouterView (r_views.IndexView):
|
||||
class RouterView(r_views.IndexView):
|
||||
table_class = routers_tables.RoutersTable
|
||||
template_name = 'project/network_topology/iframe.html'
|
||||
|
||||
|
||||
class RouterDetailView (r_views.DetailView):
|
||||
class RouterDetailView(r_views.DetailView):
|
||||
table_classes = (ports_tables.PortsTable, )
|
||||
template_name = 'project/network_topology/iframe.html'
|
||||
|
||||
|
||||
class NetworkTopologyView (TemplateView):
|
||||
class NetworkTopologyView(TemplateView):
|
||||
template_name = 'project/network_topology/index.html'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user