Revision 0e27687b kamaki/cli/commands/errors.py

b/kamaki/cli/commands/errors.py
246 246
        def _raise(self, *args, **kwargs):
247 247
            network_type = kwargs.get('network_type', None)
248 248
            msg = 'Invalid network type %s.\nValid types: %s' % (
249
                network_type, ' , '.join(this.net_types))
249
                network_type, ' '.join(this.net_types))
250 250
            assert network_type in this.net_types, msg
251 251
            return foo(self, *args, **kwargs)
252 252
        return _raise

Also available in: Unified diff