Skip to content

Commit

Permalink
Dead code.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Oct 23, 2023
1 parent c1a6a37 commit 46bea4c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions galaxy_ng/app/api/v1/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46bea4c

Please sign in to comment.