=== modified file 'softwarecenter/config.py' --- old/softwarecenter/config.py 2013-07-09 14:33:47 +0000 +++ new/softwarecenter/config.py 2014-03-21 17:50:53 +0000 @@ -1,7 +1,4 @@ -# Copyright (C) 20011 Canonical -# -# Authors: -# Andrew Higginson +# Copyright (C) 2011-2014 Canonical Ltd. # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software @@ -30,12 +27,12 @@ from paths import SOFTWARE_CENTER_CONFIG LOG = logging.getLogger(__name__) -class SoftwareCenterConfig(SafeConfigParser): +class SoftwareCenterConfig(SafeConfigParser, object): SECTIONS = ("general", "reviews") def __init__(self, config): - SafeConfigParser.__init__(self) + super(SoftwareCenterConfig, self).__init__() # imported here to avoid cycle from utils import safe_makedirs safe_makedirs(os.path.dirname(config))