Skip to content

Commit 0c320e5

Browse files
authored
use logging rather than printing (#145)
1 parent 530f303 commit 0c320e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schemasheets/schemasheet_datamodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def add_info(self, info: Union[Dict, DESCRIPTOR]) -> None:
103103
snmap = mm.slot_name_mappings()
104104
for k, v in snmap.items():
105105
if k != v.name:
106-
print(k,v.name)
106+
logging.info(f"Mismatch between slot_name_mapping key {k} slot name {v.name}")
107107
# TODO: use alias
108108
snmap['uri'] = snmap['type_uri']
109109
if self.maps_to.startswith("metaslot."):

0 commit comments

Comments
 (0)