1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/56d2d104edc2/ Changeset: 56d2d104edc2 User: natefoo Date: 2015-02-09 16:43:26+00:00 Summary: Fix warning causing tool failure: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. Affected #: 1 file diff -r 3de5356639ef95ee8a6e9a16b56fe49c5f37f504 -r 56d2d104edc249ec56eeefaaa6b25349bfcccd8d lib/galaxy/datatypes/registry.py --- a/lib/galaxy/datatypes/registry.py +++ b/lib/galaxy/datatypes/registry.py @@ -308,7 +308,7 @@ append_to_sniff_order() def load_build_sites( self, root ): - if root.find( 'build_sites' ): + if root.find( 'build_sites' ) is not None: for elem in root.find( 'build_sites' ).findall( 'site' ): if not (elem.get( 'type' ) and elem.get( 'file' )): self.log.exception( "Site is missing required 'type' and 'file' attributes: %s" ) 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.