]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Code tried to modify a tuple, convert to list before doing that (backport from
authorRonald Oussoren <ronaldoussoren@mac.com>
Fri, 26 May 2006 13:10:16 +0000 (13:10 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Fri, 26 May 2006 13:10:16 +0000 (13:10 +0000)
same patch on trunk)

Lib/idlelib/configHelpSourceEdit.py

index 3db1e0ae5eca45b6899f749218458ac1efa73357..8924f792bb57550746cfaf66b98dc79192fc79b6 100644 (file)
@@ -151,6 +151,7 @@ class GetHelpSourceDialog(Toplevel):
                     pass
                 else:
                     # Mac Safari insists on using the URI form for local files
+                    self.result = list(self.result)
                     self.result[1] = "file://" + path
             self.destroy()