Added my name to Authors

Added I18n for network create string
This commit is contained in:
Josh Kleinpeter 2011-03-21 09:06:42 -05:00
parent 385b513822
commit 665e155339
2 changed files with 3 additions and 2 deletions

View File

@ -33,6 +33,7 @@ Jonathan Bryce <jbryce@jbryce.com>
Jordan Rinke <jordan@openstack.org>
Josh Durgin <joshd@hq.newdream.net>
Josh Kearney <josh@jk0.org>
Josh Kleinpeter <josh@kleinpeter.org>
Joshua McKenty <jmckenty@gmail.com>
Justin Santa Barbara <justin@fathomdb.com>
Kei Masumoto <masumotok@nttdata.co.jp>

View File

@ -522,8 +522,8 @@ class NetworkCommands(object):
[network_size=FLAG], [vlan_start=FLAG],
[vpn_start=FLAG], [fixed_range_v6=FLAG]"""
if not fixed_range:
raise ValueError('Fixed range in the form of 10.0.0.0/8 is '
'required to create networks.')
raise ValueError(_('Fixed range in the form of 10.0.0.0/8 is '
'required to create networks.'))
if not num_networks:
num_networks = FLAGS.num_networks
if not network_size: