Skip to content

Commit 95dd925

Browse files
committed
Other pylint fixes
1 parent 5a69f47 commit 95dd925

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

office365/sharepoint/listitems/listitem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def system_update(self):
344344

345345
def _after_system_update(result):
346346
# type: (ClientResult[ClientValueCollection[ListItemFormUpdateValue]]) -> None
347-
has_any_error = any([item.HasException for item in result.value])
347+
has_any_error = any(item.HasException for item in result.value)
348348
if has_any_error:
349349
raise ValueError("Update ListItem failed")
350350

office365/teams/schedule/shifts/item.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ def __init__(self, display_name=None, activities=None):
1212
:param list[ShiftActivity] activities: An incremental part of a shift which can cover details of when and
1313
where an employee is during their shift. For example, an assignment or a scheduled break or lunch.
1414
"""
15+
super(ShiftItem, self).__init__()
1516
self.displayName = display_name
1617
self.activities = ClientValueCollection(ShiftActivity, activities)

0 commit comments

Comments
 (0)