Here is the fix we applied to generator.py in our own repository:
@ -708,6 +708,11
for t in targets:
+ # Fix for hidden ‘.svn’, ‘.cvs’ and ‘.git’ etc. folders - these must be ignored or otherwise they will be interpreted as a target.
+ if t ".svn" or t “.cvs” or t ".git" or t .gitignore
print “…. Generating bindings for target”, t
for s in sections:
print “…. …. Processing section”, s, “”
Let me know if you have any questions!