Fix pylint Too many arguments Issue
This commit is contained in:
parent
a5833be1b7
commit
95e300d7ca
|
@ -164,14 +164,13 @@ class Inbox(Screen):
|
||||||
def inboxaccounts(self):
|
def inboxaccounts(self):
|
||||||
"""Load inbox accounts."""
|
"""Load inbox accounts."""
|
||||||
account = state.association
|
account = state.association
|
||||||
folder = 'inbox'
|
self.loadMessagelist(account, 'All', '')
|
||||||
self.loadMessagelist(account, folder, 'All', '')
|
|
||||||
|
|
||||||
def loadMessagelist(self, account, folder, where="", what="", unreadOnly=False):
|
def loadMessagelist(self, account, where="", what=""):
|
||||||
"""Load Inbox list for inbox messages."""
|
"""Load Inbox list for inbox messages."""
|
||||||
xAddress = "toaddress"
|
xAddress = "toaddress"
|
||||||
queryreturn = kivy_helper_search.search_sql(
|
queryreturn = kivy_helper_search.search_sql(
|
||||||
xAddress, account, folder, where, what, unreadOnly)
|
xAddress, account, 'inbox', where, what, False)
|
||||||
if queryreturn:
|
if queryreturn:
|
||||||
self.data = [{
|
self.data = [{
|
||||||
'data_index': i,
|
'data_index': i,
|
||||||
|
@ -259,14 +258,13 @@ class Trash(Screen):
|
||||||
def inboxaccounts(self):
|
def inboxaccounts(self):
|
||||||
"""Load inbox accounts."""
|
"""Load inbox accounts."""
|
||||||
account = state.association
|
account = state.association
|
||||||
folder = 'trash'
|
self.loadTrashlist(account, 'All', '')
|
||||||
self.loadTrashlist(account, folder, 'All', '')
|
|
||||||
|
|
||||||
def loadTrashlist(self, account, folder, where="", what="", unreadOnly=False):
|
def loadTrashlist(self, account, where="", what=""):
|
||||||
"""Load Trash list for trashed messages."""
|
"""Load Trash list for trashed messages."""
|
||||||
xAddress = "toaddress"
|
xAddress = "toaddress"
|
||||||
queryreturn = kivy_helper_search.search_sql(
|
queryreturn = kivy_helper_search.search_sql(
|
||||||
xAddress, account, folder, where, what, unreadOnly)
|
xAddress, account, 'trash', where, what, False)
|
||||||
if queryreturn:
|
if queryreturn:
|
||||||
self.data = [{
|
self.data = [{
|
||||||
'data_index': i,
|
'data_index': i,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user