Skip to content

Commit

Permalink
Provide clean failure when bottle not available using allow_fail to _…
Browse files Browse the repository at this point in the history
…fetch_remote
  • Loading branch information
chapmanb committed Jan 27, 2015
1 parent afcfcd7 commit ec47b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudbio/custom/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _remote_fetch(env, url, out_file=None, allow_fail=False, fix_fn=None, samedi
out_file = None
else:
raise IOError("Failure to retrieve remote file")
if samedir:
if samedir and out_file:
out_file = os.path.join(orig_dir, out_file)
return out_file

Expand Down

0 comments on commit ec47b90

Please sign in to comment.