Explicitely add python3-sphinx_rtd_theme as build deps (should fix rhbz#1716509)

Add a patch to fix tests due to over-indenting
epel9
Michele Baldessari 6 years ago
parent 56e5895e2a
commit 4268ef13ae

@ -0,0 +1,27 @@
From 0ee86ef9d7e06639a388d0638732810b79998608 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Tue, 29 Jan 2019 18:47:16 +0100
Subject: [PATCH] pycodestyle: fix new warnings
---
mutagen/id3/_id3v1.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mutagen/id3/_id3v1.py b/mutagen/id3/_id3v1.py
index cd303a6131d3..40aded24d28d 100644
--- a/mutagen/id3/_id3v1.py
+++ b/mutagen/id3/_id3v1.py
@@ -147,8 +147,8 @@ def ParseID3v1(data, v2_version=4, known_frames=None):
elif frame_class["TDRC"]:
frames["TDRC"] = frame_class["TDRC"](encoding=0, text=year)
if comment and frame_class["COMM"]:
- frames["COMM"] = frame_class["COMM"](
- encoding=0, lang="eng", desc="ID3v1 Comment", text=comment)
+ frames["COMM"] = frame_class["COMM"](
+ encoding=0, lang="eng", desc="ID3v1 Comment", text=comment)
# Don't read a track number if it looks like the comment was
# padded with spaces instead of nulls (thanks, WinAmp).
--
2.21.0
Loading…
Cancel
Save