conduit r1780 - in trunk: . conduit/datatypes
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1780 - in trunk: . conduit/datatypes
- Date: Fri, 24 Oct 2008 15:02:11 +0000 (UTC)
Author: jstowers
Date: Fri Oct 24 15:02:11 2008
New Revision: 1780
URL: http://svn.gnome.org/viewvc/conduit?rev=1780&view=rev
Log:
2008-10-24 John Stowers <john stowers gmail com>
* conduit/datatypes/File.py: Restore self.FileImpl when unpickling
Fixes #557589
Modified:
trunk/ChangeLog
trunk/conduit/datatypes/File.py
Modified: trunk/conduit/datatypes/File.py
==============================================================================
--- trunk/conduit/datatypes/File.py (original)
+++ trunk/conduit/datatypes/File.py Fri Oct 24 15:02:11 2008
@@ -447,14 +447,17 @@
implName = conduit.FILE_IMPL
if implName == "GnomeVfs":
import conduit.platform.FileGnomeVfs as FileImpl
+ self.FileImpl = FileImpl
elif implName == "GIO":
import conduit.platform.FileGio as FileImpl
+ self.FileImpl = FileImpl
elif implName == "Python":
import conduit.platform.FilePython as FileImpl
+ self.FileImpl = FileImpl
else:
raise Exception("File Implementation %s Not Supported" % implName)
- self._file = FileImpl.FileImpl(name)
+ self._file = self.FileImpl.FileImpl(name)
self.basePath = data['basePath']
self.group = data['group']
self._defer_rename(data['filename'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]