Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
jvoisin
mat2
Commits
b8c92fec
Commit
b8c92fec
authored
Mar 23, 2019
by
jvoisin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the testsuite
parent
2405df04
Pipeline
#23533
passed with stages
in 13 minutes and 10 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
libmat2/audio.py
libmat2/audio.py
+1
-1
No files found.
.gitlab-ci.yml
View file @
b8c92fec
...
...
@@ -63,5 +63,6 @@ tests:fedora:
tests:gentoo:
image
:
$CONTAINER_REGISTRY:gentoo
stage
:
test
allow_failure
:
true
script
:
-
python3 -m unittest discover -v
libmat2/audio.py
View file @
b8c92fec
...
...
@@ -38,7 +38,7 @@ class MP3Parser(MutagenParser):
metadata
=
{}
# type: Dict[str, Union[str, dict]]
meta
=
mutagen
.
File
(
self
.
filename
).
tags
for
key
in
meta
:
if
not
hasattr
(
meta
[
key
],
'text'
):
if
not
hasattr
(
meta
[
key
],
'text'
):
# pragma: no cover
continue
metadata
[
key
.
rstrip
(
'
\t\r\n\0
'
)]
=
', '
.
join
(
map
(
str
,
meta
[
key
].
text
))
return
metadata
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment