From 7ecf184da03433ccfc54873c05688bb2aaedef2c Mon Sep 17 00:00:00 2001 From: Goffi Date: Tue, 6 Mar 2012 09:03:19 +0100 Subject: [PATCH] core: fixed Params class name in load_default_params --- INSTALL | 1 + src/memory/memory.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index 59a26dbc..3bcf958b 100644 --- a/INSTALL +++ b/INSTALL @@ -17,6 +17,7 @@ To use SàT, you will need to install: - wxWidgets (http://www.wxwidgets.org) which is found in most distributions. The more recent the version is, the better. - urwid (http://excess.org/urwid/) which can be installed with easy_install - BeautifulSoup (http://www.crummy.com/software/BeautifulSoup/) which can be installed with easy_install +- Mutagen (http://code.google.com/p/mutagen/) which can be installed with easy_install ** PATHS: diff --git a/src/memory/memory.py b/src/memory/memory.py index 174987b0..6e69003d 100644 --- a/src/memory/memory.py +++ b/src/memory/memory.py @@ -23,7 +23,6 @@ from __future__ import with_statement 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 @@ class Params(): } 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"""