Fix pyflakes/pycodestyle errors

This commit is contained in:
Philipp Hörist 2018-09-05 02:34:18 +02:00
parent f91408fbaf
commit 856a874dd5
1 changed files with 18 additions and 24 deletions

View File

@ -1,25 +1,21 @@
# -*- coding:utf-8 -*- # Copyright (C) 2016-2018 Philipp Hörist <philipp AT hoerist.com>
## gajim/gtkexcepthook.py # Copyright (C) 2005-2006 Nikos Kouremenos <kourem AT gmail.com>
## # Copyright (C) 2005-2014 Yann Leboulanger <asterix AT lagaule.org>
## Copyright (C) 2016-2018 Philipp Hörist <philipp AT hoerist.com> # Copyright (C) 2008 Stephan Erb <steve-e AT h3c.de>
## Copyright (C) 2005-2006 Nikos Kouremenos <kourem AT gmail.com> #
## Copyright (C) 2005-2014 Yann Leboulanger <asterix AT lagaule.org> # This file is part of Gajim.
## Copyright (C) 2008 Stephan Erb <steve-e AT h3c.de> #
## # Gajim is free software; you can redistribute it and/or modify
## This file is part of Gajim. # it under the terms of the GNU General Public License as published
## # by the Free Software Foundation; version 3 only.
## Gajim is free software; you can redistribute it and/or modify #
## it under the terms of the GNU General Public License as published # Gajim is distributed in the hope that it will be useful,
## by the Free Software Foundation; version 3 only. # but WITHOUT ANY WARRANTY; without even the implied warranty of
## # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## Gajim is distributed in the hope that it will be useful, # GNU General Public License for more details.
## but WITHOUT ANY WARRANTY; without even the implied warranty of #
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # You should have received a copy of the GNU General Public License
## GNU General Public License for more details. # along with Gajim. If not, see <http://www.gnu.org/licenses/>.
##
## You should have received a copy of the GNU General Public License
## along with Gajim. If not, see <http://www.gnu.org/licenses/>.
##
import sys import sys
import os import os
@ -31,8 +27,6 @@ from io import StringIO
from urllib.parse import urlencode from urllib.parse import urlencode
import nbxmpp import nbxmpp
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GObject from gi.repository import Gtk, GObject
try: try: