Browse files

fixed issue #98, added early return in keyPathsForValuesAffectingValu…

…eForKey
  • Loading branch information...
1 parent be55733 commit 646ae573f68d9ddb581f89c2b62e10ff1d94a26c @seanm seanm committed Apr 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 templates/machine.m.motemplate
View
1 templates/machine.m.motemplate
@@ -44,6 +44,7 @@ const struct <$managedObjectClassName$>FetchedProperties <$managedObjectClassNam
if ([key isEqualToString:@"<$Attribute.name$>Value"]) {
NSSet *affectingKey = [NSSet setWithObject:@"<$Attribute.name$>"];
keyPaths = [keyPaths setByAddingObjectsFromSet:affectingKey];
+ return keyPaths;
}<$endif$><$endif$><$endforeach do$>
return keyPaths;

0 comments on commit 646ae57

Please sign in to comment.