From 814ff54a31a3942f3e0b621082774265c10693f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20HUBSCHER?= Date: Thu, 6 Dec 2018 17:43:31 +0100 Subject: [PATCH] @leplatrem review. --- kinto_wizard/validate.py | 2 +- kinto_wizard/yaml2kinto.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kinto_wizard/validate.py b/kinto_wizard/validate.py index 4cb7db3..b08249e 100644 --- a/kinto_wizard/validate.py +++ b/kinto_wizard/validate.py @@ -47,7 +47,7 @@ def validate_export(config): else: # pragma: no cover # Legacy for file before kinto-wizard 4.0 logger.warning("Your file seems to be in legacy format. " - "Please add a `buckets:` root namespace.") + "Please add a `buckets:` root level.") buckets = config for bid, bucket in buckets.items(): logger.info(f"- Bucket {bid}") diff --git a/kinto_wizard/yaml2kinto.py b/kinto_wizard/yaml2kinto.py index 6033ba0..08e3998 100644 --- a/kinto_wizard/yaml2kinto.py +++ b/kinto_wizard/yaml2kinto.py @@ -26,7 +26,7 @@ async def initialize_server(async_client, config, bucket=None, collection=None, else: # pragma: no cover # Legacy for file before kinto-wizard 4.0 logger.warning("Your file seems to be in legacy format. " - "Please add a `buckets:` root namespace.") + "Please add a `buckets:` root level.") buckets = config with async_client.batch() as batch: for bucket_id, bucket in buckets.items():