conduit r1757 - in trunk: . conduit/dataproviders
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1757 - in trunk: . conduit/dataproviders
- Date: Tue, 7 Oct 2008 22:15:53 +0000 (UTC)
Author: jstowers
Date: Tue Oct 7 22:15:53 2008
New Revision: 1757
URL: http://svn.gnome.org/viewvc/conduit?rev=1757&view=rev
Log:
2008-10-08 John Stowers <john stowers gmail com>
* conduit/dataproviders/File.py: Call get_removable_volume_info is with a
File object and not a string. Fixes #555401 (Luca Ognibene)
Modified:
trunk/ChangeLog
trunk/conduit/dataproviders/File.py
Modified: trunk/conduit/dataproviders/File.py
==============================================================================
--- trunk/conduit/dataproviders/File.py (original)
+++ trunk/conduit/dataproviders/File.py Tue Oct 7 22:15:53 2008
@@ -39,7 +39,7 @@
f = File.File(URI=folderUri)
if f.is_on_removale_volume():
#write to the /volume/root/.conduit file
- rooturi,path = get_removable_volume_info(folderUri)
+ rooturi,path = get_removable_volume_info(f)
if rooturi and path:
conf = ConfigParser.SafeConfigParser()
conf.read(path)
@@ -61,7 +61,7 @@
f = File.File(URI=folderUri)
if f.is_on_removale_volume():
#read from the /volume/root/.conduit file
- rooturi,path = get_removable_volume_info(folderUri)
+ rooturi,path = get_removable_volume_info(f)
if rooturi and path:
conf = ConfigParser.SafeConfigParser()
conf.read(path)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]