]> git.phdru.name Git - bookmarks_db.git/blobdiff - Storage/bkmk_stpickle.py
Added __all__.
[bookmarks_db.git] / Storage / bkmk_stpickle.py
index ae351b3bf58af960ebaeeff97354fe3d458ff65f..c957bfe725a0bdead3a408567d94ab4dc77e18c2 100644 (file)
@@ -1,9 +1,17 @@
-"""
-   Bookmarks storage manager - pickle; certainly the most simple and elegant :)
+"""Bookmarks storage manager - pickle; certainly the most simple and elegant :)
 
-   Written by Broytman, Feb 2000 - Mar 2000. Copyright (C) 2000 PhiloSoft Design
+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"
+__license__ = "GNU GPL"
+
+__all__ = ['storage_pickle']
+
 
 try:
    import cPickle
@@ -16,13 +24,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)