diff options
-rw-r--r-- | ranger/container/bookmarks.py | 2 | ||||
-rw-r--r-- | ranger/container/directory.py | 2 | ||||
-rwxr-xr-x | ranger/data/scope.sh | 2 | ||||
-rw-r--r-- | ranger/ext/img_display.py | 2 | ||||
-rw-r--r-- | ranger/ext/logutils.py | 2 | ||||
-rwxr-xr-x | ranger/ext/rifle.py | 2 | ||||
-rw-r--r-- | ranger/gui/bar.py | 4 | ||||
-rw-r--r-- | ranger/gui/displayable.py | 4 | ||||
-rw-r--r-- | ranger/gui/ui.py | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/ranger/container/bookmarks.py b/ranger/container/bookmarks.py index d4264a61..8d269df8 100644 --- a/ranger/container/bookmarks.py +++ b/ranger/container/bookmarks.py @@ -94,7 +94,7 @@ class Bookmarks(FileManagerAware): else: raise KeyError("Cannot open bookmark: `%s'!" % key) else: - raise KeyError("Nonexistant Bookmark: `%s'!" % key) + raise KeyError("Nonexistent Bookmark: `%s'!" % key) def __setitem__(self, key, value): """Bookmark <value> to the key <key>. diff --git a/ranger/container/directory.py b/ranger/container/directory.py index cabd4d65..bcbfc4e6 100644 --- a/ranger/container/directory.py +++ b/ranger/container/directory.py @@ -254,7 +254,7 @@ class Directory( # pylint: disable=too-many-instance-attributes,too-many-public def refilter(self): if self.files_all is None: - return # propably not loaded yet + return # probably not loaded yet self.last_update_time = time() diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 0a738a38..16870363 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -149,7 +149,7 @@ handle_image() { convert -- "${FILE_PATH}" -auto-orient "${IMAGE_CACHE_PATH}" && exit 6 fi - ## `w3mimgdisplay` will be called for all images (unless overriden + ## `w3mimgdisplay` will be called for all images (unless overridden ## as above), but might fail for unsupported types. exit 7;; diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py index f3a36432..e85c4f84 100644 --- a/ranger/ext/img_display.py +++ b/ranger/ext/img_display.py @@ -539,7 +539,7 @@ class KittyImageDisplayer(ImageDisplayer, FileManagerAware): protocol_start = b'\x1b_G' protocol_end = b'\x1b\\' # we are going to use stdio in binary mode a lot, so due to py2 -> py3 - # differnces is worth to do this: + # differences is worth to do this: stdbout = getattr(sys.stdout, 'buffer', sys.stdout) stdbin = getattr(sys.stdin, 'buffer', sys.stdin) # counter for image ids on kitty's end diff --git a/ranger/ext/logutils.py b/ranger/ext/logutils.py index 38fc7cda..12f7886d 100644 --- a/ranger/ext/logutils.py +++ b/ranger/ext/logutils.py @@ -43,7 +43,7 @@ def setup_logging(debug=True, logfile=None): controlled by the `debug` parameter - debug=False: - a concise log format will be used, debug messsages will be discarded + a concise log format will be used, debug messages will be discarded and only important message will be passed to the `stderr_handler` - debug=True: diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index 8985e232..bb84b295 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -483,7 +483,7 @@ def find_conf_path(): def main(): # pylint: disable=too-many-locals - """The main function which is run when you start this program direectly.""" + """The main function which is run when you start this program directly.""" # Evaluate arguments from optparse import OptionParser # pylint: disable=deprecated-module diff --git a/ranger/gui/bar.py b/ranger/gui/bar.py index 88bf55eb..d65ef4bc 100644 --- a/ranger/gui/bar.py +++ b/ranger/gui/bar.py @@ -34,7 +34,7 @@ class Bar(object): rightsize = self.right.sumsize() sumsize = leftsize + rightsize - # remove elemets from the left until it fits + # remove elements from the left until it fits if sumsize > wid: while self.left: leftsize -= len(self.left.pop(-1)) @@ -42,7 +42,7 @@ class Bar(object): break sumsize = leftsize + rightsize - # remove elemets from the right until it fits + # remove elements from the right until it fits if sumsize > wid: while self.right: rightsize -= len(self.right.pop(0)) diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py index 0a8e09c6..23ac43c7 100644 --- a/ranger/gui/displayable.py +++ b/ranger/gui/displayable.py @@ -95,7 +95,7 @@ class Displayable( # pylint: disable=too-many-instance-attributes return self.contains_point(y, x) def draw(self): - """Draw the oject. + """Draw the object. Called on every main iteration if visible. Containers should call draw() on their contained objects here. Override this! @@ -240,7 +240,7 @@ class DisplayableContainer(Displayable): Displayable.__init__(self, win) - # ------------------------------------ extended or overidden methods + # ------------------------------------ extended or overridden methods def poke(self): """Recursively called on objects in container""" diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index f0f81c88..686b624e 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -44,7 +44,7 @@ def _setup_mouse(signal): # starts curses again, (e.g. running a ## file by clicking on its # preview) and the next key is another mouse click, the bstate of this # mouse event will be invalid. (atm, invalid bstates are recognized - # as scroll-down, so this avoids an errorneous scroll-down action) + # as scroll-down, so this avoids an erroneous scroll-down action) curses.ungetmouse(0, 0, 0, 0, 0) else: curses.mousemask(0) |