mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-02 12:51:48 -05:00
flake8: comply with new E722 rule
This commit is contained in:
committed by
Ryan Petrello
parent
7538b4ce15
commit
67867cf0c8
@@ -3816,7 +3816,7 @@ class ActivityStreamSerializer(BaseSerializer):
|
||||
def get_object_association(self, obj):
|
||||
try:
|
||||
return obj.object_relationship_type.split(".")[-1].split("_")[1]
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
return ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user