From d58624b74ee24d01e519e8ebb5c979fe4735faa4 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 25 Jun 2012 03:25:10 +0200 Subject: dohtml.py: Sort default list of extensions. --- bin/dohtml.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'bin/dohtml.py') 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 # - 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 # - 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 = "" -- cgit v1.2.3-1-g7c22