commit/galaxy-central: dan: Fix for XmlToolSource.parse_command() to return None when a command element does not exist or text is empty.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c8ba5ce3b64a/ Changeset: c8ba5ce3b64a User: dan Date: 2015-01-28 17:09:56+00:00 Summary: Fix for XmlToolSource.parse_command() to return None when a command element does not exist or text is empty. Affected #: 1 file diff -r 43c52ed25263e787f922c902590df41929edb0d8 -r c8ba5ce3b64af0fa6564744c0e45fc4c4ae1d450 lib/galaxy/tools/parser/xml.py --- a/lib/galaxy/tools/parser/xml.py +++ b/lib/galaxy/tools/parser/xml.py @@ -79,7 +79,7 @@ def parse_command(self): command_el = self._command_el - return (command_el is not None) and command_el.text + return ( ( command_el is not None ) and command_el.text ) or None def parse_interpreter(self): command_el = self._command_el 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