clang-format issue

Hi,

When running clang-format-diff.py from command line or clang-format.py
from vim, either way, I'm getting the following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/tfarina/src/llvm/tools/clang/tools/clang-format/clang-format.py",
line 44, in <module>
    stdin=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Anyone knows what I might be doing wrong?

$ clang --version
clang version 3.3 (trunk 179138)
Target: x86_64-unknown-linux-gnu
Thread model: posix

$ which clang
/home/tfarina/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang

Thanks,

I got it, sorry for the noise.

Since clang-format is not in my path, I had to edit |binary| and
change it to point to ~/src/llvm/build/bin/clang-format. Doing that
fixed it.