[Python-checkins] r74431 - python/branches/tk_and_idle_maintenance/Lib/idlelib/macosxSupport.py

guilherme.polo python-checkins at python.org
Thu Aug 13 21:44:26 CEST 2009


Author: guilherme.polo
Date: Thu Aug 13 21:44:26 2009
New Revision: 74431

Log:
fn might not be a string, convert it.

Modified:
   python/branches/tk_and_idle_maintenance/Lib/idlelib/macosxSupport.py

Modified: python/branches/tk_and_idle_maintenance/Lib/idlelib/macosxSupport.py
==============================================================================
--- python/branches/tk_and_idle_maintenance/Lib/idlelib/macosxSupport.py	(original)
+++ python/branches/tk_and_idle_maintenance/Lib/idlelib/macosxSupport.py	Thu Aug 13 21:44:26 2009
@@ -20,7 +20,7 @@
     """
     def doOpenFile(*args):
         for fn in args:
-            flist.open(fn)
+            flist.open(str(fn))
 
     # The command below is a hook in aquatk that is called whenever the app
     # receives a file open event. The callback can have multiple arguments,


More information about the Python-checkins mailing list