summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-06-20 00:32:35 +0200
committerhut <hut@lavabit.com>2012-06-20 00:33:23 +0200
commitddcaf80873d9a23eda33f99461fc76498867568b (patch)
tree523d475289f18c2080ff8769c6ac713cc1e7b3dd /ranger
parentb4bb9d1a096c415b835f646c1fb0ad4ea0a3763a (diff)
downloadranger-ddcaf80873d9a23eda33f99461fc76498867568b.tar.gz
fsobject.fsobject: sort DOCUMENT_{EXTENSIONS,BASENAMES}
Diffstat (limited to 'ranger')
-rw-r--r--ranger/fsobject/fsobject.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py
index 29354b9e..75f03cfc 100644
--- a/ranger/fsobject/fsobject.py
+++ b/ranger/fsobject/fsobject.py
@@ -4,11 +4,11 @@
 CONTAINER_EXTENSIONS = ('7z', 'ace', 'ar', 'arc', 'bz', 'bz2', 'cab', 'cpio',
 	'cpt', 'deb', 'dgc', 'dmg', 'gz', 'iso', 'jar', 'msi', 'pkg', 'rar',
 	'shar', 'tar', 'tbz', 'tgz', 'xar', 'xpi', 'xz', 'zip')
-DOCUMENT_EXTENSIONS = ('odt', 'ods', 'odp', 'odf', 'odg', 'sxc', 'xls', 'xslx',
-	'xlw', 'gnm', 'gnumeric', 'doc', 'docx', 'rtf', 'djvu', 'pdf', 'pod',
-	'xml', 'html', 'htm', 'css', 'txt', 'cvs', 'md', 'cfg', 'ps')
-DOCUMENT_BASENAMES = ('copying', 'todo', 'readme', 'bugs', 'license', 'bugs',
-	'changelog', 'install', 'help', 'credits', 'hacking')
+DOCUMENT_EXTENSIONS = ('cfg', 'css', 'cvs', 'djvu', 'doc', 'docx', 'gnm',
+	'gnumeric', 'htm', 'html', 'md', 'odf', 'odg', 'odp', 'ods', 'odt', 'pdf',
+	'pod', 'ps', 'rtf', 'sxc', 'txt', 'xls', 'xlw', 'xml', 'xslx')
+DOCUMENT_BASENAMES = ('bugs', 'bugs', 'changelog', 'copying', 'credits',
+	'hacking', 'help', 'install', 'license', 'readme', 'todo')
 
 import re
 from os import lstat, stat