OS X users can use this instead if you install "isightcapture" (available through MacPorts: "sudo port install isightcapture")<p><pre><code> def grab_image(fname):
os.system("isightcapture "+fname)
</code></pre>
Anyone know how to do the same for git? AFAIK the merge hook isn't run if the merge fails.