Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2007-07-12 21:06:33 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-07-12 21:06:33 (GMT)
commitdc5d86958fad400a3add59d7df2911a4ea68a828 (patch)
treeecc88c0ae7265ffdcf24199253f56b259b0df42d
parent8a2defe196f4f1d1edd7845ca871d58a57c717e1 (diff)
cleanup
-rwxr-xr-xactivity.py6
-rwxr-xr-xcardtable.py4
-rwxr-xr-xgame.py6
-rwxr-xr-xmemorizetoolbar.py4
-rw-r--r--messenger.py6
-rw-r--r--model.py19
-rwxr-xr-xplayerscoreboard.py6
-rwxr-xr-xscore.py6
-rwxr-xr-xscoreboard.py6
-rwxr-xr-xsvglabel.py6
10 files changed, 35 insertions, 34 deletions
diff --git a/activity.py b/activity.py
index 0eb203c..d9bbdb7 100755
--- a/activity.py
+++ b/activity.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -255,4 +253,4 @@ class MemorizeActivity(Activity):
def _buddy_left_cb (self, activity, buddy):
_logger.debug("buddy left - _buddy_left_cb: %s", buddy.props.nick)
- self.game.rem_buddy(buddy) \ No newline at end of file
+ self.game.rem_buddy(buddy)
diff --git a/cardtable.py b/cardtable.py
index b9f96b5..5ce326d 100755
--- a/cardtable.py
+++ b/cardtable.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/game.py b/game.py
index 493ce64..069a08f 100755
--- a/game.py
+++ b/game.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -301,4 +299,4 @@ class MemorizeGame(gobject.GObject):
def empty_waiting_list(self):
for buddy in self.waiting_players:
- self.rem_to_waiting_list(buddy) \ No newline at end of file
+ self.rem_to_waiting_list(buddy)
diff --git a/memorizetoolbar.py b/memorizetoolbar.py
index 9736e3d..06bca43 100755
--- a/memorizetoolbar.py
+++ b/memorizetoolbar.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/messenger.py b/messenger.py
index 2bceab9..ee69516 100644
--- a/messenger.py
+++ b/messenger.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -113,4 +111,4 @@ class Messenger(ExportedGObject):
for card in grid:
new_grid.append(map(lambda x: str(x), card[:8])+[int(card[8]), int(card[9]), int(card[10])])
self.game.load_remote(new_grid, data, True)
- \ No newline at end of file
+
diff --git a/model.py b/model.py
index d85f603..b795cb3 100644
--- a/model.py
+++ b/model.py
@@ -1,3 +1,22 @@
+#! /usr/bin/env python
+#
+# Copyright (C) 2006, 2007, One Laptop Per Child
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+
import libxml2
import os
import logging
diff --git a/playerscoreboard.py b/playerscoreboard.py
index c6a180a..2526917 100755
--- a/playerscoreboard.py
+++ b/playerscoreboard.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -128,4 +126,4 @@ class PlayerScoreboard(gtk.EventBox):
if len(self.scores) == 0:
self.table.remove(self.msg)
self.queue_draw()
- \ No newline at end of file
+
diff --git a/score.py b/score.py
index 7b6e11e..1ee1028 100755
--- a/score.py
+++ b/score.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -64,4 +62,4 @@ class Score(svglabel.SvgLabel):
def get_pixbuf_sel(self):
return self.pixbuf_sel
- \ No newline at end of file
+
diff --git a/scoreboard.py b/scoreboard.py
index 8c00214..0527b34 100755
--- a/scoreboard.py
+++ b/scoreboard.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -80,4 +78,4 @@ class Scoreboard(gtk.EventBox):
def set_wait_mode(self, widget, buddy, status):
self.players[buddy].set_wait_mode(status)
- \ No newline at end of file
+
diff --git a/svglabel.py b/svglabel.py
index 64c7f44..d30883e 100755
--- a/svglabel.py
+++ b/svglabel.py
@@ -1,8 +1,6 @@
#! /usr/bin/env python
#
-# Copyright (C) 2007, One Laptop Per Child
-#
-# Muriel de Souza Godoi - muriel@laptop.org
+# Copyright (C) 2006, 2007, One Laptop Per Child
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -100,4 +98,4 @@ class SvgLabel(gtk.DrawingArea):
self.background_color = background_color
self.modify_bg(gtk.STATE_NORMAL,gtk.gdk.color_parse(self.background_color))
self.queue_draw()
- \ No newline at end of file
+