1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/cda9da16d4f1/ Changeset: cda9da16d4f1 User: greg Date: 2013-06-11 15:16:07 Summary: Fix deprecated test for element tree element in the tool shed. Affected #: 1 file diff -r 8d96629131b057b42963e9d7ef8631c12e0e8122 -r cda9da16d4f15bf445667ab7ebe5ae979ee6dcc8 lib/tool_shed/util/xml_util.py --- a/lib/tool_shed/util/xml_util.py +++ b/lib/tool_shed/util/xml_util.py @@ -87,7 +87,7 @@ return tree, error_message def xml_to_string( elem, encoding='utf-8', use_indent=False ): - if elem: + if len( elem ): if use_indent: # We were called from suc.config_elems_to_xml_file(), so set the level to 1 since level 0 is the <toolbox> tag set. indent( elem, level=1 ) 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.