If you have a branch name with .py in it, compileall will fail with bad syntax
More specific regex for compileall
Merge pull request #890 from edx/cg/compile_exclude

If you have a branch name with .py in it, compileall will fail with bad syntax