summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-10 03:38:18 +0100
committerhut <hut@lavabit.com>2013-02-10 03:39:11 +0100
commit1a0e0a663b6b67f7e644b89ade63fb285740b6a4 (patch)
tree50157d53f887c99df304b2ccfd2ed0162cfb96f0
parentd1a1173ddc315f21a3d468f43ac55aa43d31883d (diff)
downloadranger-1a0e0a663b6b67f7e644b89ade63fb285740b6a4.tar.gz
removed all trailing whitespaces
-rw-r--r--doc/ranger.pod2
-rw-r--r--examples/vim_file_chooser.vim2
-rw-r--r--ranger/container/bookmarks.py2
-rw-r--r--ranger/core/loader.py2
-rw-r--r--ranger/core/main.py2
-rw-r--r--ranger/data/mime.types2
-rw-r--r--ranger/gui/widgets/console.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 7ab59460..a06bc6ca 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -966,7 +966,7 @@ doesn't work for functions and regular expressions. Valid values are:
 Assigns a new value to an option, but locally for the directory given by
 I<path>. This means, that this option only takes effect when visiting that
 directory. If no path is given, uses the current directory.
-   
+
 =item shell [-I<flags>] I<command>
 
 Run a shell command.  I<flags> are discussed in their own section.
diff --git a/examples/vim_file_chooser.vim b/examples/vim_file_chooser.vim
index a44ab2b7..df3f50e5 100644
--- a/examples/vim_file_chooser.vim
+++ b/examples/vim_file_chooser.vim
@@ -1,5 +1,5 @@
 " Add ranger as a file chooser in vim
-" 
+"
 " If you add this function and the key binding to the .vimrc, ranger can be
 " started using the keybinding ",r".  Once you select a file by pressing
 " enter, ranger will quit again and vim will open the selected file.
diff --git a/ranger/container/bookmarks.py b/ranger/container/bookmarks.py
index bda7907b..f5476dd8 100644
--- a/ranger/container/bookmarks.py
+++ b/ranger/container/bookmarks.py
@@ -171,7 +171,7 @@ class Bookmarks(object):
             for line in f:
                 if self.load_pattern.match(line):
                     key, value = line[0], line[2:-1]
-                    if key in ALLOWED_KEYS: 
+                    if key in ALLOWED_KEYS:
                         dct[key] = self.bookmarktype(value)
             f.close()
             return dct
diff --git a/ranger/core/loader.py b/ranger/core/loader.py
index 6219293f..d5a30caf 100644
--- a/ranger/core/loader.py
+++ b/ranger/core/loader.py
@@ -268,7 +268,7 @@ class Loader(FileManagerAware):
         if item is not None and index is None:
             for i, test in enumerate(self.queue):
                 if test == item:
-                    index = i 
+                    index = i
                     break
             else:
                 return
diff --git a/ranger/core/main.py b/ranger/core/main.py
index 1bd6f8da..579d40eb 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -291,7 +291,7 @@ def load_settings(fm, clean):
 
         # COMPAT: Load the outdated options.py
         # options.py[oc] are deliberately ignored
-        if os.path.exists(fm.confpath("options.py")):  
+        if os.path.exists(fm.confpath("options.py")):
             module = __import__('options')
             from ranger.container.settingobject import ALLOWED_SETTINGS
             for setting in ALLOWED_SETTINGS:
diff --git a/ranger/data/mime.types b/ranger/data/mime.types
index 0eec7f4e..2adc2e99 100644
--- a/ranger/data/mime.types
+++ b/ranger/data/mime.types
@@ -7,7 +7,7 @@
 #
 #  Mimetypes are used for colorschemes and the builtin filetype detection
 #  to execute files with the right program.
-# 
+#
 ###############################################################################
 
 audio/flac       flac
diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py
index f6f433bb..10458a54 100644
--- a/ranger/gui/widgets/console.py
+++ b/ranger/gui/widgets/console.py
@@ -91,7 +91,7 @@ class Console(Widget):
         self.addstr(0, 0, self.prompt)
         line = WideString(self.line)
         overflow = -self.wid + len(self.prompt) + len(line) + 1
-        if overflow > 0: 
+        if overflow > 0:
             self.addstr(0, len(self.prompt), str(line[overflow:]))
         else:
             self.addstr(0, len(self.prompt), self.line)