Revision 81c60832 kamaki/cli/commands/errors.py

b/kamaki/cli/commands/errors.py
218 218
                return foo(self, *args, **kwargs)
219 219
            except ValueError as ve:
220 220
                msg = 'Invalid network id %s ' % network_id
221
                details = ['network id must be a positive integer']
221
                details = 'network id must be a positive integer'
222 222
                raiseCLIError(ve, msg, details=details, importance=1)
223 223
            except ClientError as ce:
224 224
                if network_id and ce.status == 404 and (
......
274 274
                return foo(self, *args, **kwargs)
275 275
            except ValueError as ve:
276 276
                msg = 'Invalid flavor id %s ' % flavor_id,
277
                details = 'Flavor id must be a positive integer',
277
                details = 'Flavor id must be a positive integer'
278 278
                raiseCLIError(ve, msg, details=details, importance=1)
279 279
            except ClientError as ce:
280 280
                if flavor_id and ce.status == 404 and (
......
294 294
                return foo(self, *args, **kwargs)
295 295
            except ValueError as ve:
296 296
                msg = 'Invalid virtual server id %s' % server_id,
297
                details = ['id must be a positive integer'],
297
                details = 'Server id must be a positive integer'
298 298
                raiseCLIError(ve, msg, details=details, importance=1)
299 299
            except ClientError as ce:
300 300
                err_msg = ('%s' % ce).lower()

Also available in: Unified diff