pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
This commit is contained in:
parent
31a96228db
commit
21e8f82fd7
57 changed files with 81 additions and 83 deletions
|
|
@ -49,7 +49,7 @@ class HousingListWidgetItem(QListWidgetItem):
|
|||
text += u'<br /><font color="#008800">%s</font>' % storage.get('notes', self.housing.fullid, default='').strip().replace('\n', '<br />')
|
||||
self.setText(text)
|
||||
|
||||
if not self.housing.fullid in storage.get('read'):
|
||||
if self.housing.fullid not in storage.get('read'):
|
||||
self.setBackground(QBrush(QColor(200, 200, 255)))
|
||||
self.read = False
|
||||
elif self.housing.fullid in storage.get('bookmarks'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue