~ubuntu-branches/ubuntu/trusty/horizon/trusty-proposed

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/stacks/mappings.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-12-05 14:39:15 UTC
  • mto: This revision was merged to the branch mainline in revision 61.
  • Revision ID: package-import@ubuntu.com-20131205143915-5u8q3kdxdw8e7maz
Tags: upstream-2014.1~b1
ImportĀ upstreamĀ versionĀ 2014.1~b1

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
 
141
141
 
142
142
def get_resource_image(status, type):
143
 
    '''
144
 
    Sets the image url and in_progress action sw based on status.
145
 
    '''
 
143
    """Sets the image url and in_progress action sw based on status."""
146
144
    resource_type = get_resource_type(type)
147
145
    resource_status = get_resource_status(status)
148
146
    resource_state = resource_type + "_" + resource_status