mirror of https://github.com/GNOME/gimp.git
provide an exit code indicating if the check was passed.
2006-11-07 Simon Budig <simon@gimp.org> * tools/defcheck.py: provide an exit code indicating if the check was passed.
This commit is contained in:
parent
a44f83c66c
commit
99c64d888b
|
@ -1,3 +1,8 @@
|
|||
2006-11-07 Simon Budig <simon@gimp.org>
|
||||
|
||||
* tools/defcheck.py: provide an exit code indicating if the
|
||||
check was passed.
|
||||
|
||||
2006-11-07 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/tools/gimprectangletool.c (gimp_rectangle_tool_oper_update):
|
||||
|
|
|
@ -27,7 +27,7 @@ Needs the tool "nm" to work.
|
|||
|
||||
"""
|
||||
|
||||
import commands, glob
|
||||
import sys, commands, glob
|
||||
|
||||
for df in glob.glob ("lib*/*.def"):
|
||||
directory, rest = df.split ("/")
|
||||
|
@ -87,4 +87,8 @@ for df in glob.glob ("lib*/*.def"):
|
|||
print " the .def-file is not properly sorted (line %d)" % (unsortindex + 2)
|
||||
print
|
||||
|
||||
sys.exit (1)
|
||||
|
||||
sys.exit (0)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue