Skip to content

Commit c765494

Browse files
committed
enh: only print infor about generating new resource when this is the case
1 parent d39d1c1 commit c765494

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
1.0.2
2+
- enh: only print infor about generating new resource when this is the case
13
1.0.1
24
- maintenance release
35
1.0.0

ckanext/dc_serve/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ def generate_condensed_resource(resource, override=False):
5050
break
5151

5252
rid = resource["id"]
53-
log.info(f"Generating condensed resource {rid}")
5453
wait_for_resource(rid)
5554
if (resource.get('mimetype', '') in DC_MIME_TYPES
5655
# Check whether the file already exists on S3
5756
and (override
5857
or not s3cc.artifact_exists(resource_id=rid,
5958
artifact="condensed"))):
6059
# Create the condensed file in a cache location
60+
log.info(f"Generating condensed resource {rid}")
6161
cache_loc = common.config.get("ckanext.dc_serve.tmp_dir")
6262
if not cache_loc:
6363
cache_loc = None

0 commit comments

Comments
 (0)