SHARE
TWEET

Untitled

a guest Apr 3rd, 2013 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- /usr/share/software-center/softwarecenter/config.py.orig    2013-04-03 00:04:17.852950494 -0600
  2. +++ /usr/share/software-center/softwarecenter/config.py 2013-04-03 00:16:34.680963943 -0600
  3. @@ -29,8 +29,15 @@
  4.  
  5.  LOG = logging.getLogger(__name__)
  6.  
  7. +# See https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1038429
  8. +if issubclass(SafeConfigParser, object):
  9. +    class BaseSoftwareCenterConfig(SafeConfigParser):
  10. +        pass
  11. +else:
  12. +    class BaseSoftwareCenterConfig(SafeConfigParser, object):
  13. +        pass
  14.  
  15. -class SoftwareCenterConfig(object, SafeConfigParser):
  16. +class SoftwareCenterConfig(BaseSoftwareCenterConfig):
  17.  
  18.      SECTIONS = ("general", "reviews")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top