"""
@note Actual dial function is patched in later
"""
- raise NotImplementedError
+ raise NotImplementedError("Horrible unknown error has occurred")
def get_number(self):
return self._phonenumber
self._defaultCallback = ""
def enable(self):
- assert self._backend.is_authed()
+ assert self._backend.is_authed(), "Attempting to enable backend while not logged in"
self._accountViewNumberDisplay.set_use_markup(True)
self.set_account_number("")
self._callbackList.clear()
)
def enable(self):
- assert self._backend.is_authed()
+ assert self._backend.is_authed(), "Attempting to enable backend while not logged in"
self._recentview.set_model(self._recentmodel)
self._recentview.append_column(self._dateColumn)
"""
@note Actual dial function is patched in later
"""
- raise NotImplementedError
+ raise NotImplementedError("Horrible unknown error has occurred")
def update(self, force = False):
if not force and self._isPopulated:
pass
def _idly_populate_recentview(self):
- self._isPopulated = True
self._recentmodel.clear()
+ self._isPopulated = True
try:
recentItems = self._backend.get_recent()
)
if action == PhoneTypeSelector.ACTION_CANCEL:
return
- assert phoneNumber
+ assert phoneNumber, "A lack of phone number exists"
self.number_selected(action, phoneNumber, message)
self._recentviewselection.unselect_all()
)
def enable(self):
- assert self._backend.is_authed()
+ assert self._backend.is_authed(), "Attempting to enable backend while not logged in"
self._messageview.set_model(self._messagemodel)
self._messageview.append_column(self._dateColumn)
"""
@note Actual dial function is patched in later
"""
- raise NotImplementedError
+ raise NotImplementedError("Horrible unknown error has occurred")
def update(self, force = False):
if not force and self._isPopulated:
pass
def _idly_populate_messageview(self):
- self._isPopulated = True
self._messagemodel.clear()
+ self._isPopulated = True
try:
messageItems = self._backend.get_messages()
)
if action == PhoneTypeSelector.ACTION_CANCEL:
return
- assert phoneNumber
+ assert phoneNumber, "A lock of phone number exists"
self.number_selected(action, phoneNumber, message)
self._messageviewselection.unselect_all()
)
def enable(self):
- assert self._backend.is_authed()
+ assert self._backend.is_authed(), "Attempting to enable backend while not logged in"
self._contactsview.set_model(self._contactsmodel)
self._contactsview.append_column(self._contactColumn)
"""
@note Actual dial function is patched in later
"""
- raise NotImplementedError
+ raise NotImplementedError("Horrible unknown error has occurred")
def get_addressbooks(self):
"""
pass
def _idly_populate_contactsview(self):
- self._isPopulated = True
self.clear()
+ self._isPopulated = True
# completely disable updating the treeview while we populate the data
self._contactsview.freeze_child_notify()
)
if action == PhoneTypeSelector.ACTION_CANCEL:
return
- assert phoneNumber
+ assert phoneNumber, "A lack of phone number exists"
self.number_selected(action, phoneNumber, message)
self._contactsviewselection.unselect_all()