From 844002e31257aaeb1e994d8b810321fd42b92d79 Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Mon, 5 Apr 2010 13:10:29 +0000 Subject: [PATCH] docstring typo fixes svn: r15036 --- src/cli/grampscli.py | 4 ++-- src/gen/updatecallback.py | 2 +- src/plugins/view/mediaview.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cli/grampscli.py b/src/cli/grampscli.py index 810041cec..e83b6d970 100644 --- a/src/cli/grampscli.py +++ b/src/cli/grampscli.py @@ -106,7 +106,7 @@ class CLIDbLoader(object): def _pulse_progress(self, value): """ - Convenience method to allow to show a progress bar if wantedon load + Convenience method to allow to show a progress bar if wanted on load actions. Inherit if needed """ pass @@ -126,7 +126,7 @@ class CLIDbLoader(object): This method should only return on success. Returning on failure makes no sense, because we cannot recover, - since database has already beeen changed. + since database has already been changed. Therefore, any errors should raise exceptions. On success, return with the disabled signals. The post-load routine diff --git a/src/gen/updatecallback.py b/src/gen/updatecallback.py index 51f5453ed..20ff97c2c 100644 --- a/src/gen/updatecallback.py +++ b/src/gen/updatecallback.py @@ -43,7 +43,7 @@ import time class UpdateCallback(object): """ Basic class providing way of calling the callback to update - things during lenghty operations. + things during lengthy operations. """ def __init__(self, callback, interval=1): diff --git a/src/plugins/view/mediaview.py b/src/plugins/view/mediaview.py index 2d06bd282..654881de5 100644 --- a/src/plugins/view/mediaview.py +++ b/src/plugins/view/mediaview.py @@ -230,7 +230,7 @@ class MediaView(ListView): def get_bookmarks(self): """ - Return the booksmarks associated with this view + Return the bookmarks associated with this view """ return self.dbstate.db.get_media_bookmarks()