Fix 'undefined name 'e'' pylint error

This commit is contained in:
Thierry Carrez
2011-06-29 16:52:55 +02:00
parent fc40fa75a5
commit 698bb2e090

View File

@@ -878,7 +878,7 @@ class InstanceTypeCommands(object):
try:
instance_types.create(name, memory, vcpus, local_gb,
flavorid, swap, rxtx_quota, rxtx_cap)
except exception.InvalidInput:
except exception.InvalidInput, e:
print "Must supply valid parameters to create instance_type"
print e
sys.exit(1)