commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b6d15f14d0b3/ Changeset: b6d15f14d0b3 Branch: next-stable User: dannon Date: 2015-02-17 20:08:45+00:00 Summary: Fix another identity vs value test error in xml handling. Affected #: 1 file diff -r df939bc2b7fe0ac410e227acd6e32535a0ad7817 -r b6d15f14d0b392c4e9d9db56129bc67d6d4ba26b lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -2947,7 +2947,7 @@ element_attrib = dict( element.attrib ) element_identifier = element_attrib[ "name" ] nested_collection_elem = element.find( "collection" ) - if nested_collection_elem: + if nested_collection_elem is not None: self.elements.append( ( element_identifier, TestCollectionDef( nested_collection_elem, parse_param_elem ) ) ) else: self.elements.append( ( element_identifier, parse_param_elem( element ) ) ) https://bitbucket.org/galaxy/galaxy-central/commits/798e912004b2/ Changeset: 798e912004b2 User: dannon Date: 2015-02-17 20:09:13+00:00 Summary: Apply fix from next-stable. Affected #: 1 file diff -r 41f41e587c3470019855358afb7eaff7377c1ca0 -r 798e912004b2b26b219d5ed2214f1e65e8c099fa lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -2947,7 +2947,7 @@ element_attrib = dict( element.attrib ) element_identifier = element_attrib[ "name" ] nested_collection_elem = element.find( "collection" ) - if nested_collection_elem: + if nested_collection_elem is not None: self.elements.append( ( element_identifier, TestCollectionDef( nested_collection_elem, parse_param_elem ) ) ) else: self.elements.append( ( element_identifier, parse_param_elem( element ) ) ) 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