The second one is preferred, both in Python generally and in CKAN. `%s` is going to be deprecated in Python at some point, I think