]> git.ipfire.org Git - pbs.git/commitdiff
Add some more extensions to the list of viewable files.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 8 Dec 2012 15:03:36 +0000 (16:03 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 8 Dec 2012 15:03:36 +0000 (16:03 +0100)
backend/constants.py

index 88ff0bd6457bf31d3881ce0bfabc3ec0188a2854..8f0ebc3aa177cc15733cb0fbdef4c9f1dd3703c9 100644 (file)
@@ -21,12 +21,24 @@ CVE_PATTERN = r"(CVE)(\s|\-)(\d{4}\-\d{4})"
 
 FILE_EXTENSIONS_VIEWABLE = (
        ".c",
+       ".cc",
        ".cfg",
        ".conf",
        ".config",
+       ".cpp",
        ".h",
        ".nm",
        ".patch",
+       ".patch0",
+       ".patch1",
+       ".patch2",
+       ".patch3",
+       ".patch4",
+       ".patch5",
+       ".patch6",
+       ".patch7",
+       ".patch8",
+       ".patch9",
        ".pl",
        ".pm",
        ".py",