Sorry, I forgot to add some gnomevfs support, please consider applying also :

--- sbackupd.py.old     2007-06-29 22:22:20.000000000 +0200
+++ sbackupd.py.new     2007-06-29 22:13:18.000000000 +0200
@@ -583,7 +583,10 @@
    for file_info in dhandle:
        filename = file_info.name
        if disk_regexp.search(filename):
-            fout = open(tdir+filename+".sbackup", "w")
+            if local:
+                fout = open( tdir+filename+".sbackup", "w" )
+            else:
+                fout = gnomevfs.create( tdir+filename+".sbackup", 2 )
            table = os.popen(disk_table_backup_cmd + "/dev/" +
filename + " 2> /dev/null")
            shutil.copyfileobj(table, fout)
            table.close()


--
Mathieu


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to