Skip to content

Commit 769bc8e

Browse files
committed
Changing string format on logging
Following @ssanderson suggestion.
1 parent bf72b45 commit 769bc8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zipline/data/bundles/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def ingest(name,
435435
raise ValueError('Need to ingest a bundle that creates '
436436
'writers in order to downgrade the assets'
437437
' db.')
438-
log.info("Ingesting %s." % name)
438+
log.info("Ingesting {}.", name)
439439
bundle.ingest(
440440
environ,
441441
asset_db_writer,
@@ -609,7 +609,7 @@ def should_clean(name):
609609
cleaned = set()
610610
for run in all_runs:
611611
if should_clean(run):
612-
log.info("Cleaning %s." % run)
612+
log.info("Cleaning {}.", run)
613613
path = pth.data_path([name, run], environ=environ)
614614
shutil.rmtree(path)
615615
cleaned.add(path)

0 commit comments

Comments
 (0)