Merge pull request #180 from ndawe/master

fix use of wait in rootpy script