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 <agustin@agustin-Inspiron-1525.(none)>2012-02-28 14:14:53 (GMT)
commit0b9d73bf07d2e030ca6b3efed9e56fc02e892530 (patch)
treed1545afecb81dad15394bf7a47563c77bf86550a
parentb1f1b0732c44052068442c24dd819d1821b17e21 (diff)
Docstring for the stopwatch reader (Manu Q)
Signed-off-by: Agustin Zubiaga <agustin@agustin-Inspiron-1525.(none)>
-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."""