From aa5e93aa9edae28f9f922cbedb608a158d54d219 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Tue, 06 Oct 2009 12:12:48 +0000 Subject: More pylint cleanup --- (limited to 'scoreboard.py') diff --git a/scoreboard.py b/scoreboard.py index 59c0102..e11d3dd 100644 --- a/scoreboard.py +++ b/scoreboard.py @@ -54,7 +54,7 @@ class Scoreboard(gtk.EventBox): stroke_color, fill_color = buddy.props.color.split(',') player = PlayerScoreboard(nick, fill_color, stroke_color, score) player.show() - self.players[buddy]=player + self.players[buddy] = player self.vbox.pack_start(player, False, False) if score == -1: player.set_wait_mode(True) @@ -65,7 +65,7 @@ class Scoreboard(gtk.EventBox): del self.players[buddy] ### fix for self.players[id] def set_selected(self, widget, buddy): - if self.current_buddy <> None: + if self.current_buddy is not None: old = self.players[self.current_buddy] old.set_selected(False) self.current_buddy = buddy -- cgit v0.9.1