diff -u jockey-0.3.3/jockey/xorg_driver.py jockey-0.3.3/jockey/xorg_driver.py --- jockey-0.3.3/jockey/xorg_driver.py +++ jockey-0.3.3/jockey/xorg_driver.py @@ -57,7 +57,7 @@ if os.path.exists(OSLib.inst.xorg_conf_path): try: - self.xorg_conf = xorgconfig.readConfig(OSLib.inst.xorg_conf_path) + self.xorg_conf = xorgconfig.readConfig(OSLib.inst.xorg_conf_path)[0] except (IOError, xorgconfig.ParseException, AttributeError): self.xorg_conf = None else: @@ -156,7 +156,7 @@ elif os.path.exists(oldconf): open(OSLib.inst.xorg_conf_path, 'w').write(open(oldconf).read()) os.unlink(oldconf) - self.xorg_conf = xorgconfig.readConfig(OSLib.inst.xorg_conf_path) + self.xorg_conf = xorgconfig.readConfig(OSLib.inst.xorg_conf_path)[0] else: # no backup, so mangle current config manually device = self.xorg_conf.getSections('device')[0] device.driver = self.alt_free_driver diff -u jockey-0.3.3/debian/changelog jockey-0.3.3/debian/changelog --- jockey-0.3.3/debian/changelog +++ jockey-0.3.3/debian/changelog @@ -1,3 +1,10 @@ +jockey (0.3.3-0ubuntu8) hardy; urgency=low + + * jockey/xorg_driver.py: Fix 'tuple' object has no attribute 'getSections' + - thanks John S. Gruber for the patch. (LP: #215027) + + -- Andy Matteson Fri, 11 Apr 2008 15:27:11 -0400 + jockey (0.3.3-0ubuntu7) hardy; urgency=low * Cherrypick a few bug fixes from trunk: