We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e8aad8 commit 8161885Copy full SHA for 8161885
python/hopsworks/core/git_api.py
@@ -347,7 +347,7 @@ def _status(self, repo_id):
347
348
status_dict = json.loads(git_op.command_result_message)
349
file_status = None
350
- if status_dict is not None and type(status_dict["status"]) is list:
+ if status_dict is not None and isinstance(status_dict["status"], list):
351
file_status = []
352
for status in status_dict["status"]:
353
file_status.append(
0 commit comments