conduit r1758 - in branches/gnome-2-24: . conduit/dataproviders



Author: jstowers
Date: Tue Oct  7 22:16:35 2008
New Revision: 1758
URL: http://svn.gnome.org/viewvc/conduit?rev=1758&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:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/conduit/dataproviders/File.py

Modified: branches/gnome-2-24/conduit/dataproviders/File.py
==============================================================================
--- branches/gnome-2-24/conduit/dataproviders/File.py	(original)
+++ branches/gnome-2-24/conduit/dataproviders/File.py	Tue Oct  7 22:16:35 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]