[kupfer] objects: DirectorySource does not need pickle_prepare
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] objects: DirectorySource does not need pickle_prepare
- Date: Tue, 8 Sep 2009 16:00:35 +0000 (UTC)
commit ade0f8e94a7c95f1bd91fc2cce2a37904f9457fe
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Tue Sep 8 17:52:21 2009 +0200
objects: DirectorySource does not need pickle_prepare
kupfer/objects.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/kupfer/objects.py b/kupfer/objects.py
index 8c7b92f..57f9024 100644
--- a/kupfer/objects.py
+++ b/kupfer/objects.py
@@ -959,10 +959,6 @@ class DirectorySource (Source, PicklingHelperMixin, FilesystemWatchMixin):
return "%s.%s(\"%s\", show_hidden=%s)" % (self.__class__.__module__,
self.__class__.__name__, str(self.directory), self.show_hidden)
- def pickle_prepare(self):
- # the monitor token is not pickleable
- self.monitor = None
-
def unpickle_finish(self):
self.monitor = self.monitor_directories(self.directory)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]