docstring typo fixes
svn: r15036
This commit is contained in:
parent
d79961ff0b
commit
844002e312
@ -106,7 +106,7 @@ class CLIDbLoader(object):
|
|||||||
|
|
||||||
def _pulse_progress(self, value):
|
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
|
actions. Inherit if needed
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
@ -126,7 +126,7 @@ class CLIDbLoader(object):
|
|||||||
|
|
||||||
This method should only return on success.
|
This method should only return on success.
|
||||||
Returning on failure makes no sense, because we cannot recover,
|
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.
|
Therefore, any errors should raise exceptions.
|
||||||
|
|
||||||
On success, return with the disabled signals. The post-load routine
|
On success, return with the disabled signals. The post-load routine
|
||||||
|
@ -43,7 +43,7 @@ import time
|
|||||||
class UpdateCallback(object):
|
class UpdateCallback(object):
|
||||||
"""
|
"""
|
||||||
Basic class providing way of calling the callback to update
|
Basic class providing way of calling the callback to update
|
||||||
things during lenghty operations.
|
things during lengthy operations.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, callback, interval=1):
|
def __init__(self, callback, interval=1):
|
||||||
|
@ -230,7 +230,7 @@ class MediaView(ListView):
|
|||||||
|
|
||||||
def get_bookmarks(self):
|
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()
|
return self.dbstate.db.get_media_bookmarks()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user