diff options
author | hut <hut@lavabit.com> | 2013-02-10 03:38:18 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-10 03:39:11 +0100 |
commit | 1a0e0a663b6b67f7e644b89ade63fb285740b6a4 (patch) | |
tree | 50157d53f887c99df304b2ccfd2ed0162cfb96f0 /ranger | |
parent | d1a1173ddc315f21a3d468f43ac55aa43d31883d (diff) | |
download | ranger-1a0e0a663b6b67f7e644b89ade63fb285740b6a4.tar.gz |
removed all trailing whitespaces
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/container/bookmarks.py | 2 | ||||
-rw-r--r-- | ranger/core/loader.py | 2 | ||||
-rw-r--r-- | ranger/core/main.py | 2 | ||||
-rw-r--r-- | ranger/data/mime.types | 2 | ||||
-rw-r--r-- | ranger/gui/widgets/console.py | 2 |
5 files changed, 5 insertions, 5 deletions
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) |