2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files) pep8 doc fixes & pylint fixes svn: r10103
This commit is contained in:
@@ -166,7 +166,7 @@ class FastFilterModel(gtk.GenericTreeModel):
|
||||
|
||||
def on_iter_nth_child(self, parent, n):
|
||||
if parent:
|
||||
ret = [parent[0],n]
|
||||
ret = [parent[0], n]
|
||||
else:
|
||||
ret = [n,]
|
||||
return ret
|
||||
|
||||
@@ -191,7 +191,7 @@ class FastModel(gtk.GenericTreeModel):
|
||||
|
||||
def on_iter_nth_child(self, parent, n):
|
||||
if parent:
|
||||
ret = [parent[0],n]
|
||||
ret = [parent[0], n]
|
||||
else:
|
||||
ret = [n,]
|
||||
return ret
|
||||
|
||||
@@ -5,7 +5,7 @@ log = logging.getLogger(".")
|
||||
|
||||
class ListCursor(object):
|
||||
"""
|
||||
Provides a wrapper around the cursor class that provides fast
|
||||
Provide a wrapper around the cursor class that provides fast
|
||||
traversal using treeview paths for models that are LISTONLY, i.e.
|
||||
they have no tree structure.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ log = logging.getLogger(".")
|
||||
|
||||
class PathCursor(object):
|
||||
"""
|
||||
Provides a wrapper around the cursor class that provides fast
|
||||
Provide a wrapper around the cursor class that provides fast
|
||||
traversal using treeview paths.
|
||||
|
||||
It keeps track of the current index that the cursor is pointing
|
||||
|
||||
@@ -4,7 +4,7 @@ import gen.lib
|
||||
|
||||
|
||||
class PersonFilterModel(FastFilterModel):
|
||||
"""Provides a fast model interface to the Person table.
|
||||
"""Provide a fast model interface to the Person table.
|
||||
"""
|
||||
|
||||
def __init__(self,db,apply_filter):
|
||||
|
||||
@@ -10,7 +10,7 @@ import gen.lib
|
||||
|
||||
|
||||
class PersonListModel(FastModel):
|
||||
"""Provides a fast model interface to the Person table.
|
||||
"""Provide a fast model interface to the Person table.
|
||||
"""
|
||||
|
||||
def __init__(self,db):
|
||||
|
||||
@@ -9,7 +9,7 @@ import gen.lib
|
||||
|
||||
|
||||
class PersonTreeModel(FastModel):
|
||||
"""Provides a fast model interface to the Person table.
|
||||
"""Provide a fast model interface to the Person table.
|
||||
"""
|
||||
|
||||
def __init__(self,db):
|
||||
|
||||
Reference in New Issue
Block a user