From 46bea4cfc030deac5aa302c0b4835bb0aaf58dce Mon Sep 17 00:00:00 2001 From: James Tanner Date: Sun, 22 Oct 2023 23:28:35 -0400 Subject: [PATCH] Dead code. No-Issue Signed-off-by: James Tanner --- galaxy_ng/app/api/v1/serializers.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/galaxy_ng/app/api/v1/serializers.py b/galaxy_ng/app/api/v1/serializers.py index cb754ec11b..ce2afc7b9b 100644 --- a/galaxy_ng/app/api/v1/serializers.py +++ b/galaxy_ng/app/api/v1/serializers.py @@ -468,19 +468,6 @@ def get_results(self, obj): results = [] for idv, version in enumerate(versions): - ''' - ds = {} - for field in fields: - if field in ['created', 'modified'] and field not in version: - ds[field] = version.get('release_date') - continue - if field == 'version': - ds[field] = version['name'] - continue - ds[field] = version.get(field) - ds['id'] = idv - results.append(ds) - ''' results.append(LegacyRoleVersionDetail(obj, version).to_json()) return results