From e617d40b47d58175c4a4205a3ed71bec4ebf8781 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 21 Jan 2012 18:04:00 +0000 Subject: [PATCH] * morituri.spec.in: Spec fix. * morituri/image/image.py: Log fix. --- ChangeLog | 7 +++++++ morituri.spec.in | 2 +- morituri/image/image.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 86de363..787a91e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-01-21 Thomas Vander Stichele + + * morituri.spec.in: + Spec fix. + * morituri/image/image.py: + Log fix. + 2011-10-29 Thomas Vander Stichele * morituri/rip/debug.py: diff --git a/morituri.spec.in b/morituri.spec.in index 45ed48c..45132a5 100644 --- a/morituri.spec.in +++ b/morituri.spec.in @@ -50,7 +50,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/rip %{_mandir}/man1/rip.1* %{python_sitelib}/morituri -%{_sysconfdir}/bash_completion.d/rip +%{_sysconfdir}/bash_completion.d/ %changelog * Sun Jan 09 2011 Thomas Vander Stichele diff --git a/morituri/image/image.py b/morituri/image/image.py index 55ee354..fa19c76 100644 --- a/morituri/image/image.py +++ b/morituri/image/image.py @@ -155,7 +155,7 @@ class AudioLengthTask(log.Loggable, gstreamer.GstPipelineTask): assert type(path) is unicode, "%r is not unicode" % path self._path = path - self.logName = os.path.basename(path) + self.logName = os.path.basename(path).encode('utf-8') def getPipelineDesc(self): return '''