indent-finder
detect indentation settings for code
Indent Finder is a python script that reads a file and tells you
what indentation is used inside the file. The indentation analysis
works on any language. It was tested successfully with C, C++,
python and Java code.
http://www.freehackers.org/Indent_Finder