Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gogame.py
diff options
context:
space:
mode:
Diffstat (limited to 'gogame.py')
-rw-r--r--gogame.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gogame.py b/gogame.py
index fa8e705..894952f 100644
--- a/gogame.py
+++ b/gogame.py
@@ -191,10 +191,10 @@ class GoGame:
for current_element in current_group:
for x in self.neighbors(current_element):
if self.status.has_key(x):
- if self.status[x] != color:
+ if self.status[x] != color:
return None
elif not x in current_group:
- current_group.append(x)
+ current_group.append(x)
return set(current_group)
groups = {'B':set(), 'W':set()}