diff --git a/src/memory/memory.py b/src/memory/memory.py index 8258ad26..8192513b 100644 --- a/src/memory/memory.py +++ b/src/memory/memory.py @@ -22,7 +22,6 @@ along with this program. If not, see . from __future__ import with_statement import os.path -import time from ConfigParser import SafeConfigParser, NoOptionError, NoSectionError from xml.dom import minidom from logging import debug, info, warning, error @@ -528,7 +527,7 @@ class Memory: section='DEFAULT' try: _value = self.config.get(section, name) - except NoOptionError, NoSectionError: + except (NoOptionError, NoSectionError): _value = '' return os.path.expanduser(_value) if name.endswith('_path') or name.endswith('_dir') else _value