]> git.phdru.name Git - bookmarks_db.git/blobdiff - Storage/bkmk_stpickle.py
Fix a bug: convert str to float
[bookmarks_db.git] / Storage / bkmk_stpickle.py
index 702cea58ffc2a3735a63bfe540feea7fe6021f82..c4ad32b82ee6c7200db243b1029e9f0403b97a00 100644 (file)
@@ -3,13 +3,13 @@
 This file is a part of Bookmarks database and Internet robot.
 """
 
-__version__ = "$Revision$"[11:-2]
-__revision__ = "$Id$"[5:-2]
-__date__ = "$Date$"[7:-2]
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
 __license__ = "GNU GPL"
 
+__all__ = ['storage_pickle']
+
+
 try:
    import cPickle
    pickle = cPickle
@@ -21,13 +21,11 @@ except ImportError:
 class storage_pickle:
    filename = "bookmarks_db.pickle"
 
-
    def store(self, root_folder):
       outfile = open(self.filename, 'wb')
       pickle.dump(root_folder, outfile, 1)
       outfile.close()
 
-
    def load(self):
       infile = open(self.filename, 'rb')
       root_folder = pickle.load(infile)