[Sugar-devel] [PATCH Maze] Comment bugfix and import missing

Manuel Kaufmann humitos at gmail.com
Tue Apr 10 15:56:12 EDT 2012


 - A triple quoted comment was accidentally removed, so I added it again.
 - Added 'gtk' module because it was missing.

Signed-off-by: Manuel Kaufmann <humitos at gmail.com>
---
 activity.py           |    1 +
 olpcgames/activity.py |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/activity.py b/activity.py
index f6ef333..f9f4ba3 100755
--- a/activity.py
+++ b/activity.py
@@ -1,5 +1,6 @@
 # -*- coding: utf-8 -*-
 
+import gtk
 import olpcgames
 import pygame
 
diff --git a/olpcgames/activity.py b/olpcgames/activity.py
index 53f0422..ddd9a85 100644
--- a/olpcgames/activity.py
+++ b/olpcgames/activity.py
@@ -1,6 +1,6 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
-"""Embeds the Canvas widget into a Sugar-specific Activity environment"""
+"""Embeds the Canvas widget into a Sugar-specific Activity environment
 
 The olpcgames.activity module encapsulates creation of a Pygame activity.
 Your Activity should inherit from this class. Simply setting some class 
-- 
1.7.9.5



More information about the Sugar-devel mailing list