Skip to content

Commit 61e7519

Browse files
committed
fix(stats): remove double variable assignment
1 parent ac64468 commit 61e7519

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cds/modules/stats/event_builders.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
def file_download_event_builder(event, sender_app, obj=None, record=None, **kwargs):
1818
"""Build a file-download event."""
19-
tags = obj.get_tags()
2019
# File information
2120
content_type = splitext(obj.key)[1][1:].lower()
2221
tags = obj.get_tags()
@@ -56,7 +55,6 @@ def media_record_view_event_builder(event, sender_app, obj=None, record=None, **
5655
5756
This is the event tracking users clicking the play button on videos.
5857
"""
59-
tags = obj.get_tags()
6058
# File information
6159
content_type = splitext(obj.key)[1][1:].lower()
6260
tags = obj.get_tags()

0 commit comments

Comments
 (0)