Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

little fix for TermsFilter #179

Merged
merged 3 commits into from May 4, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyes/filters.py
Expand Up @@ -281,7 +281,7 @@ def add(self, field, values):
def serialize(self): def serialize(self):
if not self._values: if not self._values:
raise RuntimeError("A least a field/value pair must be added") raise RuntimeError("A least a field/value pair must be added")
data = copy.deepcopy() data = copy.deepcopy(self._values)
if self.execution: if self.execution:
data['execution'] = self.execution data['execution'] = self.execution
if self._name: if self._name:
Expand Down