~annegentle/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/virt/vmwareapi/io_util.py

  • Committer: Tarmac
  • Author(s): Matthew Hooker
  • Date: 2011-08-10 14:53:53 UTC
  • mfrom: (1355.2.24 pylint-fixes)
  • Revision ID: tarmac-20110810145353-rmc0lkjirgunxe08
These fixes are the result of trolling the pylint violations here

https://jenkins.openstack.org/job/nova-pylint-errors/violations/

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    """Ensures that image data is written to in the glance client and that
69
69
    it is in correct ('active')state."""
70
70
 
71
 
    def __init__(self, input, glance_client, image_id, image_meta={}):
 
71
    def __init__(self, input, glance_client, image_id, image_meta=None):
 
72
        if not image_meta:
 
73
            image_meta = {}
 
74
 
72
75
        self.input = input
73
76
        self.glance_client = glance_client
74
77
        self.image_id = image_id