diff src/memory/memory.py @ 458:094050fe461e

core: fixed Params class name in load_default_params
author Goffi <goffi@goffi.org>
date Tue, 06 Mar 2012 09:03:19 +0100
parents 7099ea9c1b12
children cf005701624b
line wrap: on
line diff
--- a/src/memory/memory.py	Sun Jan 29 03:00:25 2012 +0100
+++ b/src/memory/memory.py	Tue Mar 06 09:03:19 2012 +0100
@@ -23,7 +23,6 @@
 
 import os.path
 import time
-import cPickle as pickle
 from ConfigParser import SafeConfigParser, NoOptionError, NoSectionError
 from xml.dom import minidom
 from logging import debug, info, warning, error
@@ -74,7 +73,7 @@
           }
 
     def load_default_params(self):
-        self.dom = minidom.parseString(Param.default_xml.encode('utf-8'))
+        self.dom = minidom.parseString(Params.default_xml.encode('utf-8'))
 
     def load_xml(self, file):
         """Load parameters template from file"""