Revision 42ace959 image_creator/kamaki_wrapper.py

b/image_creator/kamaki_wrapper.py
61 61
        yield
62 62
    return progress_gen
63 63

  
64

  
64 65
class Kamaki:
65 66
    def __init__(self, account, token):
66 67
        self.account = account
......
100 101
            raise FatalError("Pithos client: %d %s" % (e.status, e.message))
101 102

  
102 103
    def register(self, name, location, metadata):
103
        params = {'is_public':'true', 'disk_format':'diskdump'}
104

  
105
        params = {'is_public': 'true', 'disk_format': 'diskdump'}
104 106
        try:
105 107
            self.image_client.register(name, location, params, metadata)
106 108
        except ClientError as e:

Also available in: Unified diff