[conduit] Fix an iPod bug that was breaking 4 tracker test cases
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit] Fix an iPod bug that was breaking 4 tracker test cases
- Date: Sat, 27 Jun 2009 15:23:58 +0000 (UTC)
commit e8bf29817545f757404d69ab1475a151534611a2
Author: John Carr <john carr unrouted co uk>
Date: Wed Jun 17 10:14:56 2009 +0100
Fix an iPod bug that was breaking 4 tracker test cases
conduit/modules/iPodModule/iPodModule.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/conduit/modules/iPodModule/iPodModule.py b/conduit/modules/iPodModule/iPodModule.py
index 05a8978..2c66f39 100644
--- a/conduit/modules/iPodModule/iPodModule.py
+++ b/conduit/modules/iPodModule/iPodModule.py
@@ -63,7 +63,7 @@ def _string_to_unqiue_file(txt, base_uri, prefix, postfix=''):
temp = Utils.new_tempfile(txt)
uri = os.path.join(base_uri, prefix+temp.get_filename()+postfix)
temp.transfer(uri, True)
- temp.set_UID(uri)
+ temp.set_UID(os.path.basename(uri))
return temp.get_rid()
class iPodFactory(VolumeFactory.VolumeFactory):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]