Skip to content

Commit

Permalink
Rename shed_ignore to ignore and style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening committed Mar 10, 2015
1 parent cb1c335 commit 1c3ae20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions planemo/shed.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def build_tarball(tool_path):
fd, temp_path = mkstemp()
repo_config = shed_repo_config(tool_path)
ignore_list = []
for shed_ignore in repo_config.get('shed_ignore', []):
ignore_list.extend( glob.glob( os.path.join(tool_path, shed_ignore) ) )
for shed_ignore in repo_config.get('ignore', []):
ignore_list.extend(glob.glob(os.path.join(tool_path, shed_ignore)))
try:
with tarfile.open(temp_path, "w:gz") as tar:
for name in os.listdir(tool_path):
Expand Down

0 comments on commit 1c3ae20

Please sign in to comment.