[gnome-music/wip/mschraal/glib-logging: 13/65] Remove unused logger imports
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/glib-logging: 13/65] Remove unused logger imports
- Date: Sat, 1 Feb 2020 15:38:10 +0000 (UTC)
commit 8107dfbded812a2713464e9775add31778b7dd9d
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Jan 27 21:37:38 2020 +0100
Remove unused logger imports
gnomemusic/views/artistsview.py | 3 ---
gnomemusic/views/songsview.py | 3 ---
gnomemusic/widgets/artistalbumswidget.py | 4 ----
gnomemusic/widgets/smoothscale.py | 4 ----
gnomemusic/window.py | 3 ---
5 files changed, 17 deletions(-)
---
diff --git a/gnomemusic/views/artistsview.py b/gnomemusic/views/artistsview.py
index 2ed4ad35..74bf9fda 100644
--- a/gnomemusic/views/artistsview.py
+++ b/gnomemusic/views/artistsview.py
@@ -22,7 +22,6 @@
# code, but you are not obligated to do so. If you do not wish to do so,
# delete this exception statement from your version.
-import logging
from gettext import gettext as _
from gi.repository import Gdk, Gtk
@@ -31,8 +30,6 @@ from gnomemusic.views.baseview import BaseView
from gnomemusic.widgets.artistalbumswidget import ArtistAlbumsWidget
from gnomemusic.widgets.artisttile import ArtistTile
-logger = logging.getLogger(__name__)
-
class ArtistsView(BaseView):
"""Main view of all available artists
diff --git a/gnomemusic/views/songsview.py b/gnomemusic/views/songsview.py
index 7e70eed4..c29180c9 100644
--- a/gnomemusic/views/songsview.py
+++ b/gnomemusic/views/songsview.py
@@ -22,7 +22,6 @@
# code, but you are not obligated to do so. If you do not wish to do so,
# delete this exception statement from your version.
-import logging
from gettext import gettext as _
from gi.repository import Gdk, Gtk, Pango
@@ -33,8 +32,6 @@ from gnomemusic.utils import SongStateIcon
from gnomemusic.views.baseview import BaseView
from gnomemusic.widgets.starhandlerwidget import StarHandlerWidget
-logger = logging.getLogger(__name__)
-
class SongsView(BaseView):
"""Main view of all songs sorted artistwise
diff --git a/gnomemusic/widgets/artistalbumswidget.py b/gnomemusic/widgets/artistalbumswidget.py
index e867e61c..af8e9bc3 100644
--- a/gnomemusic/widgets/artistalbumswidget.py
+++ b/gnomemusic/widgets/artistalbumswidget.py
@@ -22,16 +22,12 @@
# code, but you are not obligated to do so. If you do not wish to do so,
# delete this exception statement from your version.
-import logging
-
from gi.repository import GObject, Gtk
from gnomemusic import log
from gnomemusic.player import PlayerPlaylist
from gnomemusic.widgets.artistalbumwidget import ArtistAlbumWidget
-logger = logging.getLogger(__name__)
-
class ArtistAlbumsWidget(Gtk.ListBox):
"""Widget containing all albums by an artist
diff --git a/gnomemusic/widgets/smoothscale.py b/gnomemusic/widgets/smoothscale.py
index c17b315d..635f602d 100644
--- a/gnomemusic/widgets/smoothscale.py
+++ b/gnomemusic/widgets/smoothscale.py
@@ -22,15 +22,11 @@
# code, but you are not obligated to do so. If you do not wish to do so,
# delete this exception statement from your version.
-import logging
-
from gi.repository import GLib, GObject, Gtk
from gnomemusic import log
from gnomemusic.gstplayer import Playback
-logger = logging.getLogger(__name__)
-
class SmoothScale(Gtk.Scale):
"""Progressbar UI element
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 7e194e8a..f07d06ab 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -46,9 +46,6 @@ from gnomemusic.widgets.searchheaderbar import SearchHeaderBar
from gnomemusic.widgets.selectiontoolbar import SelectionToolbar # noqa: F401
from gnomemusic.windowplacement import WindowPlacement
-import logging
-logger = logging.getLogger(__name__)
-
@Gtk.Template(resource_path="/org/gnome/Music/ui/Window.ui")
class Window(Gtk.ApplicationWindow):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]