Fix extra indention in firewall views.py code

Bug #1417808 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Lin Hua Cheng

Bug Description

It is not obvious in here, but there are 8 spaces instead of 4 space in the indent of the code inside the method

https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/firewalls/views.py#L175

    @memoized.memoized_method
    def _get_object(self, *args, **kwargs):
            policy_id = self.kwargs['policy_id']
            try:
                policy = api.fwaas.policy_get(self.request, policy_id)
                return policy
            except Exception:
                redirect = self.success_url
                msg = _('Unable to retrieve policy details.')
                exceptions.handle(self.request, msg, redirect=redirect)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/152708

Changed in horizon:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/152708
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=35e44c5f65566bff71322d837499c36a27ac1c7c
Submitter: Jenkins
Branch: master

commit 35e44c5f65566bff71322d837499c36a27ac1c7c
Author: lin-hua-cheng <email address hidden>
Date: Tue Feb 3 14:54:27 2015 -0800

    Remove extra indention in Firewall views.py

    Change-Id: If89fd05048812b6198e8e03ecb0db63f24c687ec
    Closes-Bug: #1417808

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
milestone: none → kilo-2
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.