Simplify Python Compile/Syntax Check command.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5260 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2010-09-26 18:09:13 +00:00
parent a29174086a
commit 9838d8e9bd
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
* src/editor.c:
When commenting/uncommenting with single-line comment characters,
ignore any end of line characters before evaluating the current line.
* data/filetypes.python:
Simplify Python Compile/Syntax Check command.
2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -55,5 +55,5 @@ context_action_cmd=
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=python -c "import py_compile; py_compile.compile('%f')"
compiler=python -m py_compile "%f"
run_cmd=python "%f"