changeset 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 fbe7c9118ce4
children cf005701624b
files INSTALL src/memory/memory.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL	Sun Jan 29 03:00:25 2012 +0100
+++ b/INSTALL	Tue Mar 06 09:03:19 2012 +0100
@@ -17,6 +17,7 @@
 - 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:
 
--- 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"""