diff options
| author | Josh Kleinpeter <josh@kleinpeter.org> | 2011-03-21 09:17:12 -0500 |
|---|---|---|
| committer | Josh Kleinpeter <josh@kleinpeter.org> | 2011-03-21 09:17:12 -0500 |
| commit | 3754a7b6f4cf0e9c60a140348b4cdb9c8acde062 (patch) | |
| tree | cff9da1f1ae9dd32f2243f532c1038b1fd36923e /bin | |
| parent | 665e155339b8c4498e39e783710d869dcfc94238 (diff) | |
Changed error to TypeError so that we get the arguments list.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/nova-manage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nova-manage b/bin/nova-manage index 53e954003..bdc129077 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -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 TypeError(_('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: |
