Open Bug 1681914 Opened 3 years ago Updated 3 years ago

mozprofile __eq__ method is over-complex

Categories

(Testing :: Mozbase, enhancement, P3)

Default
enhancement

Tracking

(Not tracked)

People

(Reporter: jgraham, Unassigned)

Details

From https://phabricator.services.mozilla.com/D99092

It's really unclear why this isn't return all(getattr(self, attr) == getattr(other, attr) for attr in self.attrs)

Severity: -- → S4
Type: defect → enhancement
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.