From 1db651ae498e33815e9d923e30f3f43644f1a90f Mon Sep 17 00:00:00 2001
From: Blake Fitch <blake.fitch@tuebingen.mpg.de>
Date: Sun, 14 Jul 2024 14:41:12 +0200
Subject: [PATCH] turn output of type() to string in log line

---
 pymods/irods_utils/irods_utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pymods/irods_utils/irods_utils.py b/pymods/irods_utils/irods_utils.py
index cc4aac0..2d8b731 100644
--- a/pymods/irods_utils/irods_utils.py
+++ b/pymods/irods_utils/irods_utils.py
@@ -205,8 +205,8 @@ def pydict_to_irods_avus( coll_or_obj, metadata_dict ):
     # Load the dict into a list of AVU ops
     for key, value in metadata_dict.items():
         logging.debug( "Create AVU OP list. ipath: " + coll_or_obj.path
-                     + " key: " + key + " type(key): " + type(key)
-                     + " value: " + value + " type(value): " + type(value) )
+                     + " key: " + key + " type(key): " + str(type(key))
+                     + " value: " + value + " type(value): " + str(type(value)) )
 
         if value == "":
             value = " "
-- 
GitLab