Skip to content

Commit

Permalink
Merge pull request #11 from bioconda/blacklist_handling
Browse files Browse the repository at this point in the history
filter out empty lines from blacklist
  • Loading branch information
johanneskoester authored Aug 3, 2016
2 parents 1d8f343 + e317cfa commit e4638f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioconda_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def get_blacklist(blacklists, recipe_folder):
blacklist.update(
[
os.path.relpath(i.strip(), recipe_folder)
for i in open(p) if not i.startswith('#')
for i in open(p) if not i.startswith('#') and i.strip()
]
)
return blacklist
Expand Down

0 comments on commit e4638f8

Please sign in to comment.