Fix unnecessary-pass pylint errors
This commit is contained in:
parent
376fff7871
commit
8483ba503f
|
@ -81,7 +81,6 @@ class ServiceRegistration(Gtk.Assistant):
|
|||
elif self.get_current_page() == Page.SENDING:
|
||||
self._register()
|
||||
self.commit()
|
||||
pass
|
||||
|
||||
def _on_get_success(self, form, is_form):
|
||||
log.info('Show Form page')
|
||||
|
|
|
@ -1857,7 +1857,7 @@ class Interface:
|
|||
emoticons = emoji_data.get_regex()
|
||||
if app.config.get('ascii_emoticons'):
|
||||
emoticons += '|%s' % emoji_ascii_data.get_regex()
|
||||
pass
|
||||
|
||||
self.emot_and_basic = '%s|%s' % (basic_pattern, emoticons)
|
||||
|
||||
# at least one character in 3 parts (before @, after @, after .)
|
||||
|
|
Loading…
Reference in New Issue