Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguz@sugarlabs.org>2013-11-25 13:10:56 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2013-11-25 13:10:56 (GMT)
commit780f7a1cb3ed4b3e3adc23e44cf9764c135b1d9a (patch)
treeccdf1af7d01a0d3af522d98d344bde294be9db11
parent71fe1c24ffbf6d073fb1d8a2dc7f83986ea7256a (diff)
Adding SimpleActivity comment
Signed-off-by: Agustin Zubiaga <aguz@sugarlabs.org>
-rw-r--r--sharedactivity.py3
-rw-r--r--simpleactivity.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/sharedactivity.py b/sharedactivity.py
index ce1b61b..94b9589 100644
--- a/sharedactivity.py
+++ b/sharedactivity.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# This file is part of SimpleActivity
# Copyright (C) 2013 Agustin Zubiaga <aguz@sugarlabs.org>.
#
# This library is free software; you can redistribute it and/or
@@ -481,4 +482,4 @@ class ReservedValue(Exception):
self.value = 'You cannot use "%s" as an event name' % value
def __str__(self):
- return repr(self.value) \ No newline at end of file
+ return repr(self.value)
diff --git a/simpleactivity.py b/simpleactivity.py
index 46e1181..4573704 100644
--- a/simpleactivity.py
+++ b/simpleactivity.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# This file is part of SimpleActivity
# Copyright (C) 2013 Agustin Zubiaga <aguz@sugarlabs.org>.
#
# This library is free software; you can redistribute it and/or
@@ -218,7 +219,7 @@ class SimpleActivity(activity.Activity):
def save_data(self):
"""Override this function, in order to save whatever in self.data,
- this mean that sugar is call the write_file method"""
+ this mean that sugar called the write_file method"""
return
def write_file(self, file_name):
@@ -237,4 +238,3 @@ class SimpleActivity(activity.Activity):
self.emit('data-loaded')
finally:
rfile.close()
-