From ea02dcfb14dee0d44c41cd94e74f519610a28d87 Mon Sep 17 00:00:00 2001 From: Richard Frank Date: Thu, 1 Oct 2015 08:04:05 -0400 Subject: [PATCH] MAINT: Format the list when making error message --- zipline/assets/assets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/assets/assets.py b/zipline/assets/assets.py index 33235c5f..bbb284a5 100644 --- a/zipline/assets/assets.py +++ b/zipline/assets/assets.py @@ -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]