Permalink
Browse files

Fixed a minor issue with extended resource handling method names

  • Loading branch information...
Stephen Henrie
Stephen Henrie committed Jun 25, 2012
1 parent 2973b62 commit e507d835fc4dab2e04afa90edaff528e8cdbede0
Showing with 2 additions and 2 deletions.
  1. +1 −1 extern/ion-definitions
  2. +1 −1 pyon/ion/resource.py
View
@@ -359,7 +359,7 @@ def set_object_field_values(self, obj, resource, ext_exclude):
elif self.is_decorator(obj, field, 'Method'):
deco_value = self.get_decorator_value(obj, field, 'Method')
if deco_value:
- method_name = 'get_' + deco_value
+ method_name = deco_value
else:
method_name = 'get_' + field
ret_val = self.execute_method(resource._id, method_name)

0 comments on commit e507d83

Please sign in to comment.