Fix unnecessary-pass pylint errors

This commit is contained in:
Philipp Hörist 2018-09-18 14:03:58 +02:00
parent 376fff7871
commit 8483ba503f
2 changed files with 1 additions and 2 deletions

View File

@ -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')

View File

@ -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 .)