Skip to content

Commit

Permalink
Remove extra closing parenthesis
Browse files Browse the repository at this point in the history
Fixes #3271
  • Loading branch information
Vraj Mohan authored and lbeaufort committed Sep 11, 2018
1 parent 06e1e7b commit 383ddeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webservices/resources/legal.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def apply_ao_specific_query_params(query, **kwargs):

if kwargs.get('ao_statutory_citation'):
for citation in kwargs.get('ao_statutory_citation'):
exact_match = re.match(r"(?P<title>\d+)\s+U\.?S\.?C\.?\s+§*\s*(?P<section>\d+).*\.?)", citation)
exact_match = re.match(r"(?P<title>\d+)\s+U\.?S\.?C\.?\s+§*\s*(?P<section>\d+).*\.?", citation)
if(exact_match):
citation_queries.append(Q("nested", path="statutory_citations", query=Q("bool",
must=[Q("term", statutory_citations__title=int(exact_match.group('title'))),
Expand Down

0 comments on commit 383ddeb

Please sign in to comment.