Make linecount.py script work with git submodules
Fix assignment/if-else repr