Change the indent level of python code from two to four

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14250 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-06-27 21:08:54 +00:00
parent f861ba839d
commit a5a508bdaa
5 changed files with 2535 additions and 2535 deletions

View File

@ -1,4 +1,4 @@
# vi:filetype=python:expandtab:tabstop=2:shiftwidth=2
# vi:filetype=python:expandtab:tabstop=4:shiftwidth=4
#
# file SConstruct
#
@ -804,15 +804,15 @@ if not fast_start or not os.path.isfile(boost_config_h) \
/* -*- C++ -*- */
/*
* \file config.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* This is the compilation configuration file for LyX.
* It was generated by scon.
* You might want to change some of the defaults if something goes wrong
* during the compilation.
*/
* \file config.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* This is the compilation configuration file for LyX.
* It was generated by scon.
* You might want to change some of the defaults if something goes wrong
* during the compilation.
*/
#ifndef _BOOST_CONFIG_H
#define _BOOST_CONFIG_H
@ -904,15 +904,15 @@ if not fast_start or not os.path.isfile(boost_config_h) \
/* -*- C++ -*- */
/*
* \file config.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* This is the compilation configuration file for LyX.
* It was generated by scon.
* You might want to change some of the defaults if something goes wrong
* during the compilation.
*/
* \file config.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* This is the compilation configuration file for LyX.
* It was generated by scon.
* You might want to change some of the defaults if something goes wrong
* during the compilation.
*/
#ifndef _CONFIG_H
#define _CONFIG_H
@ -1050,7 +1050,7 @@ int count()
"Define to the type of arg 5 for `select'."),
],
config_post = '''/************************************************************
** You should not need to change anything beyond this point */
** You should not need to change anything beyond this point */
#ifndef HAVE_STRERROR
#if defined(__cplusplus)
@ -1099,15 +1099,15 @@ int mkstemp(char*);
/* -*- C++ -*- */
/*
* \file config.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* This is the compilation configuration file for LyX.
* It was generated by scon.
* You might want to change some of the defaults if something goes wrong
* during the compilation.
*/
* \file config.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* This is the compilation configuration file for LyX.
* It was generated by scon.
* You might want to change some of the defaults if something goes wrong
* during the compilation.
*/
#ifndef _CONFIG_H
#define _CONFIG_H
@ -1482,7 +1482,6 @@ if build_boost:
boostenv = env.Copy()
#
#
# boost use its own config.h
boostenv['CPPPATH'] = ['$TOP_SRCDIR/boost', '$BUILDDIR/boost'] + extra_inc_paths
boostenv.AppendUnique(CCFLAGS = ['-DBOOST_USER_CONFIG="<config.h>"'])

View File

@ -1,4 +1,4 @@
# vi:filetype=python:expandtab:tabstop=2:shiftwidth=2
# vi:filetype=python:expandtab:tabstop=4:shiftwidth=4
#
# file scons_utils.py
#
@ -208,9 +208,9 @@ extern
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
#ifndef LIBICONV_DLL_EXPORTED
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
#endif
#ifndef LIBICONV_DLL_EXPORTED
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
#endif
#else
size_t iconv();
#endif

View File

@ -104,7 +104,8 @@ for type in types:
out = open(outfile, 'w')
for dir in dirs.split(path_sep):
# for each valid directory
if os.path.isdir(dir):
if not os.path.isdir(dir):
continue
# walk down the file hierarchy
for root,path,files in os.walk(dir):
# check file type