[gnome-games/sudoku-tube] Trivial polish
- From: Zhang Sen <zhangsen src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games/sudoku-tube] Trivial polish
- Date: Sun, 2 Aug 2009 02:45:07 +0000 (UTC)
commit 7c1b4384118baad9913f40ccc0c825e44a241aae
Author: Zhang Sen <zh jesse gmail com>
Date: Wed Jul 29 16:37:29 2009 +0800
Trivial polish
gnome-sudoku/src/lib/networking.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/networking.py b/gnome-sudoku/src/lib/networking.py
index c0d58ef..7e19f78 100644
--- a/gnome-sudoku/src/lib/networking.py
+++ b/gnome-sudoku/src/lib/networking.py
@@ -62,7 +62,7 @@ class RemoteViewHandler:
def update(self, changes):
for box in changes:
- x, y, value, conflict = box.x, box.y, box.value, box.conflict
+ x, y, value = box.x, box.y, box.value
if value is None:
pass
elif value == 0:
@@ -80,8 +80,8 @@ class RemoteViewHandler:
def connect_to_model(self, model):
model.add_observer(self)
- def _handle_reply(*args):
+ def _handle_reply(self):
pass
- def _handle_error(*args):
- print 'error', args
+ def _handle_error(self, error):
+ print 'error: ', error
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]