Skip to content

Commit

Permalink
Fix bug when no expr passed to filter_dict().
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedarcy committed Jun 12, 2018
1 parent 46b86d1 commit 4f650ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bdbag/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def escape_url_path(url, safe='/'):

def filter_dict(expr, entry):
if not expr:
return False
return True
match = FILTER_REGEX.search(expr)
if not match:
raise ValueError("Unable to parse expression: %s" % expr)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
url='https://github.com/fair-research/bdbag/',
maintainer='USC Information Sciences Institute, Informatics Systems Research Division',
maintainer_email='[email protected]',
version="1.4.0",
version="1.4.1",
packages=find_packages(),
package_data={'bdbag': ['profiles/*.*']},
test_suite='test',
Expand Down

0 comments on commit 4f650ee

Please sign in to comment.