Skip to content

Commit

Permalink
Use python syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Oct 12, 2023
1 parent 0e9ae6a commit 8c721dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def reply(self):
def get_uo_contact_info(self, uo):
result = []

for contact in getattr(uo, "contact_info", None) || []:
for contact in getattr(uo, "contact_info", None) or []:
if contact.isBroken():
logger.error(
"Broken relation found in <{UID}>.contact_info".format(UID=uo.UID())
Expand Down

0 comments on commit 8c721dc

Please sign in to comment.