31
33
# FIXME: Use mime types? Ohcount?
32
34
# TODO: It will be better move those filters to properties file
34
36
extension = os.path.splitext(name)[1]
35
37
if extension in (".c", ".h", ".py", ".cpp", ".rb", ".pm", ".pl", ".ac",
36
".java", ".cc", ".proto", ".yy", ".l"):
38
".java", ".cc", ".proto", ".yy", ".l"):
38
40
if extension in (".html", ".xml", ".txt", ".rst", ".TODO"):