Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguz@sugarlabs.org>2012-02-24 23:51:21 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2012-02-24 23:51:21 (GMT)
commit15ef1be5005b4a46032ee46a58ecabac41debb0b (patch)
treed1545afecb81dad15394bf7a47563c77bf86550a
parentbb14c11f1fe71a0dc75ca7e6051f4e49c77ddf1e (diff)
Docstring for the stopwatch reader (Manu Q)
-rw-r--r--activity.py2
-rw-r--r--readers.py7
2 files changed, 8 insertions, 1 deletions
diff --git a/activity.py b/activity.py
index f2896f2..45e1111 100644
--- a/activity.py
+++ b/activity.py
@@ -496,7 +496,7 @@ class SimpleGraph(activity.Activity):
if sharer:
_logger.debug('This is my activity: making a tube...')
- id = self.tubes_chan[telepathy.CHANNEL_TYPE_TUBES].OfferDBusTube(
+ self.tubes_chan[telepathy.CHANNEL_TYPE_TUBES].OfferDBusTube(
SERVICE, {})
else:
_logger.debug('I am joining an activity: waiting for a tube...')
diff --git a/readers.py b/readers.py
index c79131f..286b330 100644
--- a/readers.py
+++ b/readers.py
@@ -26,6 +26,13 @@ from gettext import gettext as _
class StopWatchReader():
+ """Reader for StopWatch activity.
+
+ If the data has only one stopwatch with marks, graphic the marks.
+ Else, graphic the final time of the stopwatches.
+
+ """
+
def __init__(self, data):
"""Import chart data from file."""