whoopsy2
This commit is contained in:
@@ -142,7 +142,7 @@ class reroute_compute(object):
|
|||||||
def __call__(self, f):
|
def __call__(self, f):
|
||||||
def wrapped_f(*args, **kwargs):
|
def wrapped_f(*args, **kwargs):
|
||||||
collection, context, item_id = \
|
collection, context, item_id = \
|
||||||
self.get_collection_context_and_id()
|
self.get_collection_context_and_id(args)
|
||||||
try:
|
try:
|
||||||
return f(*args, **kwargs)
|
return f(*args, **kwargs)
|
||||||
except exception.InstanceNotFound, e:
|
except exception.InstanceNotFound, e:
|
||||||
|
|||||||
Reference in New Issue
Block a user