fixes after pull
This commit is contained in:
parent
c98d1a70f4
commit
3b115adf9c
|
@ -409,6 +409,7 @@ class MyAddress(Screen):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def filter_address(address):
|
def filter_address(address):
|
||||||
"""Method will filter the my address list data"""
|
"""Method will filter the my address list data"""
|
||||||
|
# pylint: disable=deprecated-lambda
|
||||||
if filter(lambda x: (state.searcing_text).lower() in x, [
|
if filter(lambda x: (state.searcing_text).lower() in x, [
|
||||||
BMConfigParser().get(
|
BMConfigParser().get(
|
||||||
address, 'label').lower(), address.lower()]):
|
address, 'label').lower(), address.lower()]):
|
||||||
|
@ -529,7 +530,7 @@ class AddressBook(Screen):
|
||||||
class SelectableRecycleBoxLayout(
|
class SelectableRecycleBoxLayout(
|
||||||
FocusBehavior, LayoutSelectionBehavior, RecycleBoxLayout):
|
FocusBehavior, LayoutSelectionBehavior, RecycleBoxLayout):
|
||||||
"""Adds selection and focus behaviour to the view"""
|
"""Adds selection and focus behaviour to the view"""
|
||||||
# pylint: disable = too-many-ancestors
|
# pylint: disable = too-many-ancestors, duplicate-bases
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@ -1586,6 +1587,7 @@ class NavigateApp(App): # pylint: disable=too-many-public-methods
|
||||||
msg_counter_objs.allmail_cnt.badge_text = state.all_count
|
msg_counter_objs.allmail_cnt.badge_text = state.all_count
|
||||||
|
|
||||||
def on_start(self):
|
def on_start(self):
|
||||||
|
"""Method activates on start"""
|
||||||
self.set_message_count()
|
self.set_message_count()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
@ -2287,7 +2289,7 @@ class Draft(Screen):
|
||||||
try:
|
try:
|
||||||
msg_count_objs = (
|
msg_count_objs = (
|
||||||
self.parent.parent.parent.parent.parent.parent.children[
|
self.parent.parent.parent.parent.parent.parent.children[
|
||||||
2].children[0].ids)
|
2].children[0].ids)
|
||||||
except Exception:
|
except Exception:
|
||||||
msg_count_objs = self.parent.parent.parent.parent.parent.children[
|
msg_count_objs = self.parent.parent.parent.parent.parent.children[
|
||||||
2].children[0].ids
|
2].children[0].ids
|
||||||
|
|
|
@ -21,12 +21,12 @@ It resends messages when there has been no response:
|
||||||
# pylint: disable=relative-import, protected-access
|
# pylint: disable=relative-import, protected-access
|
||||||
import gc
|
import gc
|
||||||
import os
|
import os
|
||||||
|
from datetime import datetime, timedelta
|
||||||
import time
|
import time
|
||||||
import shared
|
import shared
|
||||||
|
|
||||||
import knownnodes
|
import knownnodes
|
||||||
import queues
|
import queues
|
||||||
import shared
|
|
||||||
import state
|
import state
|
||||||
import tr
|
import tr
|
||||||
from bmconfigparser import BMConfigParser
|
from bmconfigparser import BMConfigParser
|
||||||
|
|
|
@ -124,4 +124,4 @@ availabe_credit = 0
|
||||||
|
|
||||||
in_sent_method = False
|
in_sent_method = False
|
||||||
|
|
||||||
in_search_mode = False
|
in_search_mode = False
|
||||||
|
|
Reference in New Issue
Block a user