commit/galaxy-central: greg: Make sure shlex receives a string when installing tool dependencies along with repositories intstalled from the tool shed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/451b411b4b19/ Changeset: 451b411b4b19 User: greg Date: 2014-02-25 18:09:36 Summary: Make sure shlex receives a string when installing tool dependencies along with repositories intstalled from the tool shed. Affected #: 1 file diff -r d15e1876ba0affc36e73945e587a35e5ff243063 -r 451b411b4b19ca34ed154352b07b3f49983d1197 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 @@ -810,7 +810,7 @@ be captured and logged in nearly real time. This is similar to fabric.local, but allows us to retain control over the process. """ - wrapped_command = shlex.split( "/bin/sh -c '%s'" % command ) + wrapped_command = shlex.split( "/bin/sh -c '%s'" % str( command ) ) # Launch the command as subprocess. A bufsize of 1 means line buffered. process_handle = subprocess.Popen( wrapped_command, stdout=subprocess.PIPE, 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