On Tue, Aug 20, 2013 at 10:27 AM, Rene Engelhard <r...@debian.org> wrote: >> --- /usr/lib/libreoffice/program/pythonscript.py~ 2013-08-16 >> 18:51:06.865451812 -0500 >> +++ /usr/lib/libreoffice/program/pythonscript.py 2013-08-06 >> 12:25:04.000000000 -0500 >> #------------------------------------------------------------------- >> @@ -70,7 +70,7 @@ >> userInstallation = pathSubst.getSubstituteVariableValue( >> "user" ) >> if len( userInstallation ) > 0: >> systemPath = uno.fileUrlToSystemPath( >> userInstallation + "/Scripts/python/log.txt" ) >> - ret = open( systemPath , "a" ) >> + ret = file( systemPath , "a" ) > > So why is this needed? http://docs.python.org/release/3.0/whatsnew/3.0.html#builtins file is removed, you must used open
-- James Michael DuPont Member of Free Libre Open Source Software Kosova http://flossk.org Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com Contributor FOSM, the CC-BY-SA map of the world http://fosm.org Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3 Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3 -- To UNSUBSCRIBE, email to debian-openoffice-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caf0qkv2dk_mimcupmq0ky6fox042kezpa7z3tep14aw0omq...@mail.gmail.com