/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/stats/classify.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-17 00:47:52 UTC
  • mfrom: (7182 work)
  • mto: This revision was merged to the branch mainline in revision 7305.
  • Revision ID: jelmer@jelmer.uk-20181117004752-6ywampe5pfywlby4
Merge trunk.

Show diffs side-by-side

added added

removed removed

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