MAINT: Format the list when making error message

This commit is contained in:
Richard Frank
2015-10-02 09:58:59 -04:00
parent 9a745450cc
commit ea02dcfb14
+1 -1
View File
@@ -551,7 +551,7 @@ class AssetFinder(object):
# Handle missing assets
if len(missing) > 0:
warnings.warn("Missing assets for identifiers: " + missing)
warnings.warn("Missing assets for identifiers: %s" % missing)
# Return a list of the sids of the found assets
return [asset.sid for asset in matches]