commit/galaxy-central: dan: Fix for parsing tool <input> attributes when it contains no parameters.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/832bbb3fa9fb/ Changeset: 832bbb3fa9fb User: dan Date: 2014-07-24 22:46:24 Summary: Fix for parsing tool <input> attributes when it contains no parameters. Affected #: 1 file diff -r 6f7d70f72da237e0d8d37a20b14a4eab1828803d -r 832bbb3fa9fb62d53f2be23cf880755fa2001f46 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -1391,7 +1391,7 @@ # Load parameters (optional) input_elem = root.find("inputs") enctypes = set() - if input_elem: + if input_elem is not None: # Handle properties of the input form self.check_values = string_as_bool( input_elem.get("check_values", self.check_values ) ) self.nginx_upload = string_as_bool( input_elem.get( "nginx_upload", self.nginx_upload ) ) 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