Skip to content

Commit

Permalink
Changes not '.' in to '.' not in.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinkels committed Jan 26, 2015
1 parent 1679aaa commit c7fe405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_restless/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def to_dict(instance, deep=None, exclude=None, include=None,
# add any included methods
if include_methods is not None:
for method in include_methods:
if not '.' in method:
if '.' not in method:
value = getattr(instance, method)
# Allow properties and static attributes in include_methods
if callable(value):
Expand Down

0 comments on commit c7fe405

Please sign in to comment.