r19455 by jghali - 12572, patch 002: fix error when running help(scribus.newDocument) in python console
scribus-commit
scribus-commit at lists.scribus.net
Fri Aug 29 23:56:29 UTC 2014
Author: jghali
Date: Fri Aug 29 23:56:29 2014
New Revision: 19455
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19455
Log:
12572, patch 002: fix error when running help(scribus.newDocument) in python console
Modified:
trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
Modified: trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19455&path=/trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp Fri Aug 29 23:56:29 2014
@@ -568,7 +568,7 @@
"import scribus\n"
"import sys\n"
"import code\n"
- "sys.path[0] = \"%1\"\n"
+ "sys.path.insert(0, \"%1\")\n"
"import cStringIO\n"
"sys.stdin = cStringIO.StringIO()\n"
"scribus._ia = code.InteractiveConsole(globals())\n"
More information about the scribus-commit
mailing list