Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 239193 Details for
Bug 311677
app-office/lyx: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
python2.patch
pa.patch (text/plain), 906 bytes, created by
pavel sanda
on 2010-07-18 01:35:59 UTC
(
hide
)
Description:
python2.patch
Filename:
MIME Type:
Creator:
pavel sanda
Created:
2010-07-18 01:35:59 UTC
Size:
906 bytes
patch
obsolete
>diff --git a/src/graphics/GraphicsConverter.cpp b/src/graphics/GraphicsConverter.cpp >index 97c4f68..8f05e62 100644 >--- a/src/graphics/GraphicsConverter.cpp >+++ b/src/graphics/GraphicsConverter.cpp >@@ -262,7 +262,7 @@ static void build_script(FileName const & from_file, > LYXERR(Debug::GRAPHICS, "build_script ... "); > typedef Graph::EdgePath EdgePath; > >- script << "#!/usr/bin/env python\n" >+ script << "#!/usr/bin/env python2\n" > "# -*- coding: utf-8 -*-\n" > "import os, shutil, sys\n\n" > "def unlinkNoThrow(file):\n" >diff --git a/src/support/os.cpp b/src/support/os.cpp >index 6984d2c..e6f17ff 100644 >--- a/src/support/os.cpp >+++ b/src/support/os.cpp >@@ -26,7 +26,7 @@ string const python() > { > // Use the -tt switch so that mixed tab/whitespace indentation is > // an error >- static string const command("python -tt"); >+ static string const command("python2 -tt"); > return command; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 311677
:
237189
|
239191
| 239193