Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 311677
Collapse All | Expand All

(-)a/src/graphics/GraphicsConverter.cpp (-1 / +1 lines)
Lines 262-268 static void build_script(FileName const & from_file, Link Here
262
	LYXERR(Debug::GRAPHICS, "build_script ... ");
262
	LYXERR(Debug::GRAPHICS, "build_script ... ");
263
	typedef Graph::EdgePath EdgePath;
263
	typedef Graph::EdgePath EdgePath;
264
264
265
	script << "#!/usr/bin/env python\n"
265
	script << "#!/usr/bin/env python2\n"
266
		  "# -*- coding: utf-8 -*-\n"
266
		  "# -*- coding: utf-8 -*-\n"
267
		  "import os, shutil, sys\n\n"
267
		  "import os, shutil, sys\n\n"
268
		  "def unlinkNoThrow(file):\n"
268
		  "def unlinkNoThrow(file):\n"
(-)a/src/support/os.cpp (-1 / +1 lines)
Lines 26-32 string const python() Link Here
26
{
26
{
27
	// Use the -tt switch so that mixed tab/whitespace indentation is
27
	// Use the -tt switch so that mixed tab/whitespace indentation is
28
	// an error
28
	// an error
29
	static string const command("python -tt");
29
	static string const command("python2 -tt");
30
	return command;
30
	return command;
31
}
31
}
32
32

Return to bug 311677