[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone4-368-g700ab82
Michael 'Mickey' Lauer
mickey at vanille-media.de
Mon Feb 2 18:51:48 UTC 2009
The following commit has been merged in the master branch:
commit a369198b219cfb3514e7a225c34217e24e050ddb
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date: Tue Dec 30 17:59:59 2008 +0100
persist: Use cPickle instead of Python-based implementation
diff --git a/framework/persist.py b/framework/persist.py
index 9c2fbbd..a6b776f 100644
--- a/framework/persist.py
+++ b/framework/persist.py
@@ -9,24 +9,24 @@ freesmartphone.org Framework Daemon
GPLv2 or later
Module: persist
-
"""
from __future__ import with_statement
-__version__ = "1.0.0"
+__version__ = "1.0.1"
+MODULE_NAME = "frameworkd.persist"
import os, atexit
import logging
-logger = logging.getLogger( "frameworkd.persist" )
+logger = logging.getLogger( MODULE_NAME )
from framework.config import config, rootdir
rootdir = os.path.join( rootdir, 'persist' )
format = config.getValue( "frameworkd", "persist_format", "pickle" )
if format == "pickle":
- import pickle
+ import cPickle as pickle
elif format == "yaml":
from yaml import load, dump
try:
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list