From 8e27911ccc904ac590f3c718585ebddeb26f05dc Mon Sep 17 00:00:00 2001 From: Richard Taylor Date: Fri, 1 Apr 2005 13:39:34 +0000 Subject: [PATCH] 2005-04-01 Richard Taylor * src/plugins/ScratchPad.py: changed pickle to cPickle. cPickle is much faster. * src/EditPerson.py: changed pickle to cPickle. cPickle is much faster. * src/EditPlace.py: changed pickle to cPickle. cPickle is much faster. * src/Marriage.py: changed pickle to cPickle. cPickle is much faster. * src/Sources.py: changed pickle to cPickle. cPickle is much faster. svn: r4271 --- gramps2/ChangeLog | 8 ++++++++ gramps2/src/EditPerson.py | 2 +- gramps2/src/EditPlace.py | 2 +- gramps2/src/Marriage.py | 2 +- gramps2/src/Sources.py | 2 +- gramps2/src/plugins/ScratchPad.py | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 026922e56..6faf4fa3b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,11 @@ +2005-04-01 Richard Taylor + * src/plugins/ScratchPad.py: changed pickle to cPickle. cPickle is much faster. + * src/EditPerson.py: changed pickle to cPickle. cPickle is much faster. + * src/EditPlace.py: changed pickle to cPickle. cPickle is much faster. + * src/Marriage.py: changed pickle to cPickle. cPickle is much faster. + * src/Sources.py: changed pickle to cPickle. cPickle is much faster. + + 2005-04-01 Richard Taylor * src/plugins/ScratchPad.py (ScratchPadListView.object_drag_data_received, ScratchPadListView.on_object_select_row): disables drop that originates from the diff --git a/gramps2/src/EditPerson.py b/gramps2/src/EditPerson.py index 1004157d2..5b774049d 100644 --- a/gramps2/src/EditPerson.py +++ b/gramps2/src/EditPerson.py @@ -25,7 +25,7 @@ # Standard python modules # #------------------------------------------------------------------------- -import pickle +import cPickle as pickle import os import locale from gettext import gettext as _ diff --git a/gramps2/src/EditPlace.py b/gramps2/src/EditPlace.py index f557618ed..3e3d09f89 100644 --- a/gramps2/src/EditPlace.py +++ b/gramps2/src/EditPlace.py @@ -25,7 +25,7 @@ # python modules # #------------------------------------------------------------------------- -import pickle +import cPickle as pickle from gettext import gettext as _ #------------------------------------------------------------------------- diff --git a/gramps2/src/Marriage.py b/gramps2/src/Marriage.py index 54250edb8..0f66d8336 100644 --- a/gramps2/src/Marriage.py +++ b/gramps2/src/Marriage.py @@ -25,7 +25,7 @@ # Python modules # #------------------------------------------------------------------------- -import pickle +import cPickle as pickle from gettext import gettext as _ #------------------------------------------------------------------------- diff --git a/gramps2/src/Sources.py b/gramps2/src/Sources.py index 43562e7bb..ad346956c 100644 --- a/gramps2/src/Sources.py +++ b/gramps2/src/Sources.py @@ -37,7 +37,7 @@ import gtk.glade import gnome from gtk.gdk import ACTION_COPY, BUTTON1_MASK, INTERP_BILINEAR, pixbuf_new_from_file from gobject import TYPE_PYOBJECT -import pickle +import cPickle as pickle #------------------------------------------------------------------------- # diff --git a/gramps2/src/plugins/ScratchPad.py b/gramps2/src/plugins/ScratchPad.py index 8194392db..5111e5076 100644 --- a/gramps2/src/plugins/ScratchPad.py +++ b/gramps2/src/plugins/ScratchPad.py @@ -25,7 +25,7 @@ # standard python modules # #------------------------------------------------------------------------ -import pickle +import cPickle as pickle import os from xml.sax.saxutils import escape from gettext import gettext as _