Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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."""