Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_files/buildbot/codesign/archive_with_indicator.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/build_files/buildbot/codesign/archive_with_indicator.py b/build_files/buildbot/codesign/archive_with_indicator.py
index 9f903ddd9fe..aebf5a15417 100644
--- a/build_files/buildbot/codesign/archive_with_indicator.py
+++ b/build_files/buildbot/codesign/archive_with_indicator.py
@@ -76,15 +76,6 @@ class ArchiveState:
except json.decoder.JSONDecodeError:
raise ArchiveStateError('Error parsing JSON')
- # NOTE: Compatibility code with older codesign code from times when client
- # did not use JSON for the archive indicator. After all branches has codesign
- # merged this code should be removed.
- if type(object_as_dict) == int:
- result = cls()
- result.file_size = int(object_as_dict)
- result.error_message = ''
- return result
-
return cls(**object_as_dict)
@classmethod