commit/galaxy-central: davebgx: Fix for env.sh files being prematurely truncated in some environments.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c8b0a7759ef6/ Changeset: c8b0a7759ef6 User: davebgx Date: 2014-03-04 17:30:07 Summary: Fix for env.sh files being prematurely truncated in some environments. Affected #: 1 file diff -r e826721ef957d2d331331663153a509bb6f0ebed -r c8b0a7759ef65205df26a8b685cbb64d32ce3cc4 lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py --- a/lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py +++ b/lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py @@ -211,7 +211,7 @@ if os.path.exists( file_path ): try: new_env_file_contents = [] - env_file_contents = file( file_path, 'a+' ).readlines() + env_file_contents = file( file_path, 'r' ).readlines() # Clean out blank lines from the env.sh file. for line in env_file_contents: line = line.rstrip() Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org