Revision 75e73aab kamaki/clients/image/__init__.py

b/kamaki/clients/image/__init__.py
70 70
        :returns: (list) id,name + full image info if detail
71 71
        """
72 72
        path = path4url('images', 'detail') if detail else (
73
            path4url('images') + '/')
73
            '%s/' % path4url('images'))
74 74

  
75 75
        async_params = {}
76 76
        if isinstance(filters, dict):
......
115 115

  
116 116
        :returns: (dict) metadata of the created image
117 117
        """
118
        path = path4url('images') + '/'
118
        path = '%s/' % path4url('images')
119 119
        self.set_header('X-Image-Meta-Name', name)
120 120
        location = location if (
121 121
            isinstance(location, str) or isinstance(location, unicode)) else (

Also available in: Unified diff