Skip to content

Commit abb86c3

Browse files
committed
Minimize log messages
1 parent 84b3719 commit abb86c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

caltechdata_api/decustomize_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def decustomize_schema(json_record,pass_emails=False,pass_media=False):
137137
#Or 'Issued was not manually set
138138
#We want to save the entire publicationDate
139139
if 'Submitted' in datetypes or 'Issued' in datetypes:
140-
print("Custom Dates Present-Dropping TIND Publication Date")
140+
# Custom Dates Present-Dropping TIND Publication Date
141141
else:
142142
if 'dates' in json_record:
143143
json_record['dates'].append({"date":json_record['publicationDate'],\
@@ -162,7 +162,7 @@ def decustomize_schema(json_record,pass_emails=False,pass_media=False):
162162
if 'fundings' in json_record:
163163
#Metadata changes and all should all be DataCite standard
164164
#Clean out any residual issues
165-
print("Legacy funding information (fundings) not transferred")
165+
# Legacy funding information (fundings) not transferred
166166
del json_record['fundings']
167167

168168
#Geo

0 commit comments

Comments
 (0)