@@ -167,7 +167,7 @@ def __comparable_tuple(self) -> _ComparableTuple:
167
167
self .country , self .region , self .locality , self .postal_code ,
168
168
self .post_office_box_number ,
169
169
self .street_address ,
170
- None if self .bom_ref is None else self . bom_ref .value ,
170
+ self ._bom_ref .value ,
171
171
))
172
172
173
173
def __eq__ (self , other : object ) -> bool :
@@ -277,7 +277,7 @@ def phone(self, phone: Optional[str]) -> None:
277
277
def __comparable_tuple (self ) -> _ComparableTuple :
278
278
return _ComparableTuple ((
279
279
self .name , self .email , self .phone ,
280
- self .bom_ref
280
+ self ._bom_ref . value ,
281
281
))
282
282
283
283
def __eq__ (self , other : object ) -> bool :
@@ -406,7 +406,8 @@ def contacts(self, contacts: Iterable[OrganizationalContact]) -> None:
406
406
407
407
def __comparable_tuple (self ) -> _ComparableTuple :
408
408
return _ComparableTuple ((
409
- self .name , _ComparableTuple (self .urls ), _ComparableTuple (self .contacts )
409
+ self .name , _ComparableTuple (self .urls ), _ComparableTuple (self .contacts ),
410
+ self ._bom_ref .value ,
410
411
))
411
412
412
413
def __eq__ (self , other : object ) -> bool :
0 commit comments