Skip to content

Commit

Permalink
Fix TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 committed Mar 13, 2024
1 parent 645107a commit 6b48e80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions repo-converter/build/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@ def clone_svn_repos():

repo_state = "update"

except TypeError as exception:
# Get an error when trying to git config --get svn-remote.svn.url, when the directory doesn't exist on disk
# WARNING; karaf; failed to check git config --get svn-remote.svn.url. Exception: <class 'TypeError'>, ("'NoneType' object is not subscriptable",), 'NoneType' object is not subscriptable
pass

except Exception as exception:
logging.warning(f"{repo_key}; failed to check git config --get svn-remote.svn.url. Exception: {type(exception)}, {exception.args}, {exception}")

Expand Down

0 comments on commit 6b48e80

Please sign in to comment.