From a3488bbeb5806c58e1dd38be3456059024bbe818 Mon Sep 17 00:00:00 2001 From: Marc LeBlanc Date: Tue, 26 Mar 2024 01:18:07 -0600 Subject: [PATCH] Fixing type handling --- repo-converter/build/run.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/repo-converter/build/run.py b/repo-converter/build/run.py index 8cf6e0e..ead1eb9 100644 --- a/repo-converter/build/run.py +++ b/repo-converter/build/run.py @@ -1231,7 +1231,12 @@ def check_lock_files(args, process_dict): ("git svn fetch origin trunk" , ".git/svn/refs/remotes/origin/trunk/index.lock" ), # fatal: Unable to create '/sourcegraph/src-serve-root/svn.apache.org/asf/xmlbeans/.git/svn/refs/remotes/origin/trunk/index.lock': File exists ] - process_command = " ".join(process_dict["cmdline"]) + # TypeError: can only join an iterable + try: + process_command = " ".join(process_dict["cmdline"]) + except TypeError as exception: + process_command = process_dict["cmdline"] + pid = process_dict["pid"] for lock_file in list_of_process_and_lock_file_path_tuples: