Commit 9877d25d authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Switched from usign a method that was about to be deprecated to normal code.

parent 3e8d8bb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ class Options(object):
            if self.parents:
                # Promote the first parent link in lieu of adding yet another
                # field.
                field = self.parents.value_for_index(0)
                field = next(self.parents.itervalues())
                # Look for a local field with the same name as the
                # first parent link. If a local field has already been
                # created, use it instead of promoting the parent