From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 25 Jun 2012 01:25:10 +0000 (+0200) Subject: dohtml.py: Sort default list of extensions. X-Git-Tag: v2.2.0_alpha113~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d58624b74ee24d01e519e8ebb5c979fe4735faa4;p=portage.git dohtml.py: Sort default list of extensions. --- 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 = ""