diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-06-25 03:25:10 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-06-25 03:25:10 +0200 |
commit | d58624b74ee24d01e519e8ebb5c979fe4735faa4 (patch) | |
tree | ac53367a6b6294730e7572ed058f0422e9c02805 | |
parent | 324bf88228b7be64814e99dd96ad73a204a5df63 (diff) | |
download | portage-d58624b74ee24d01e519e8ebb5c979fe4735faa4.tar.gz portage-d58624b74ee24d01e519e8ebb5c979fe4735faa4.tar.bz2 portage-d58624b74ee24d01e519e8ebb5c979fe4735faa4.zip |
dohtml.py: Sort default list of extensions.
-rwxr-xr-x | bin/dohtml.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/dohtml.py b/bin/dohtml.py index f0a7f2cf6..96e78ef6f 100755 --- a/bin/dohtml.py +++ b/bin/dohtml.py @@ -1,5 +1,5 @@ #!/usr/bin/python -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @@ -13,8 +13,8 @@ # Detailed usage: # dohtml <list-of-files> # - will install the files in the list of files (space-separated list) into -# /usr/share/doc/${PF}/html, provided the file ends in .htm, .html, .css, -# .js, ,gif, .jpeg, .jpg, or .png. +# /usr/share/doc/${PF}/html, provided the file ends in .css, .gif, .htm, +# .html, .jpeg, .jpg, .js or .png. # dohtml -r <list-of-files-and-directories> # - will do as 'dohtml', but recurse into all directories, as long as the # directory name is not CVS @@ -99,10 +99,9 @@ class OptionsClass: if "_E_DOCDESTTREE_" in os.environ: self.DOCDESTTREE = os.environ["_E_DOCDESTTREE_"] - self.allowed_exts = [ 'htm', 'html', 'css', 'js', - 'gif', 'jpeg', 'jpg', 'png' ] + self.allowed_exts = ['css', 'gif', 'htm', 'html', 'jpeg', 'jpg', 'js', 'png'] self.allowed_files = [] - self.disallowed_dirs = [ 'CVS' ] + self.disallowed_dirs = ['CVS'] self.recurse = False self.verbose = False self.doc_prefix = "" |