Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cardtable.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-10 21:06:50 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-14 11:00:09 (GMT)
commit711cda0d9a310c990142c242ce3d5724772450f3 (patch)
tree50fc9af9f513687b9a1687ef917c01e302fc0cab /cardtable.py
parentcead2b4429499ac74df70a91a9ab79a090549a59 (diff)
Pep8 fixes
Diffstat (limited to 'cardtable.py')
-rw-r--r--cardtable.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/cardtable.py b/cardtable.py
index 14f23c7..83d1b3d 100644
--- a/cardtable.py
+++ b/cardtable.py
@@ -176,14 +176,12 @@ class CardTable(Gtk.EventBox):
if self.load_mode:
self._set_load_mode(False)
self.show_all()
- #gc.collect()
def change_game(self, widget, data, grid):
if not self.first_load:
for card in self.cards.values():
self.table.remove(card)
del card
- #gc.collect()
self.load_game(None, data, grid)
def get_card_size(self, size_table):
@@ -198,7 +196,6 @@ class CardTable(Gtk.EventBox):
self.card_flipped(card)
def mouse_event(self, widget, event, coord):
- #self.table.grab_focus()
card = self.cards[coord[0], coord[1]]
identifier = self.cd2id.get(card)
self.emit('card-highlighted', identifier, True)