Skip to content

Commit 810f9eb

Browse files
fix: simplify return statement in find_by method of ContentItemAssociations
1 parent 3f323fc commit 810f9eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/posit/connect/oauth/associations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ def find_by(
101101

102102
if match:
103103
return association
104-
else:
105-
return None
104+
return None
106105

107106
def delete(self) -> None:
108107
"""Delete integration associations."""

0 commit comments

Comments
 (0)