[gnome-music: 3/5] Make pep8 and pyflakes happy
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music: 3/5] Make pep8 and pyflakes happy
- Date: Sun, 11 Aug 2013 09:05:55 +0000 (UTC)
commit 0fe841bd52139a791700d29f5a8e3c1ee61a0a4f
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Aug 5 22:27:41 2013 +0200
Make pep8 and pyflakes happy
gnomemusic/widgets.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 1f7457b..35d22b5 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -372,7 +372,7 @@ class ArtistAlbums(Gtk.VBox):
else:
song_widget.now_playing_sign.hide()
song_widget.title\
- .set_markup('<span color='grey'>%s</span>' % escapedTitle)
+ .set_markup('<span color=\'grey\'>%s</span>' % escapedTitle)
itr = playlist.iter_next(itr)
return False
@@ -478,7 +478,7 @@ class ArtistAlbumWidget(Gtk.HBox):
self.ui.get_object('title').set_label(album.get_title())
if album.get_creation_date():
self.ui.get_object('year').set_markup(
- '<span color='grey'>(%s)</span>' %
+ '<span color=\'grey\'>(%s)</span>' %
str(album.get_creation_date().get_year())
)
self.tracks = []
@@ -497,7 +497,7 @@ class ArtistAlbumWidget(Gtk.HBox):
song_widget = ui.get_object('eventbox1')
self.songs.append(song_widget)
ui.get_object('num')\
- .set_markup('<span color='grey'>%d</span>'
+ .set_markup('<span color=\'grey\'>%d</span>'
% len(self.songs))
title = AlbumArtCache.get_media_title(track)
ui.get_object('title').set_text(title)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]