Skip to content

Commit 8e8baf2

Browse files
committed
fix
1 parent 864fab9 commit 8e8baf2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

khard/carddav_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ def _get_private_objects(self) -> Dict[str, List[Union[str, Dict[str, str]]]]:
923923
{ablabel: child.value} if ablabel else child.value)
924924
# sort private object lists
925925
for value in private_objects.values():
926-
value.sort(key=multi_property_key) # type: ignore[arg-type]
926+
value.sort(key=multi_property_key)
927927
return private_objects
928928

929929
def _add_private_object(self, key: str, value: str) -> None:

test/test_yaml_editable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_unsupported_private_objects_can_be_added_but_not_retrieved(self) -> Non
8080
ye = TestYAMLEditable()
8181
ye.supported_private_objects = ["foo"]
8282
ye._add_private_object("foo", "bar")
83-
ye._add_private_object("bar", "foo")
83+
ye._add_private_object("bar", "foo") # type: ignore[arg-type]
8484
self.assertEqual(ye._get_private_objects(), {"foo": ["bar"]})
8585
self.assertIn("X-BAR:foo", ye.vcard.serialize())
8686

0 commit comments

Comments
 (0)