summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/commands.py1
-rw-r--r--ranger/defaults/keys.py4
-rw-r--r--ranger/fsobject/directory.py3
-rw-r--r--ranger/fsobject/loader.py1
-rw-r--r--ranger/gui/displayable.py1
-rw-r--r--ranger/gui/widgets/browsercolumn.py1
-rw-r--r--ranger/keyapi.py1
7 files changed, 1 insertions, 11 deletions
diff --git a/ranger/commands.py b/ranger/commands.py
index 95dfaf99..09e9a766 100644
--- a/ranger/commands.py
+++ b/ranger/commands.py
@@ -2,7 +2,6 @@ import os
 from ranger.shared import FileManagerAware
 from ranger.gui.widgets import console_mode as cmode
 from ranger.ext.command_parser import LazyParser as parse
-from ranger import log
 
 class Command(FileManagerAware):
 	"""Abstract command class"""
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 46d71af6..5f7691e2 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -142,10 +142,6 @@ def initialize_commands(command_list):
 	bind('!', fm.open_console(cmode.OPEN))
 	bind('r', fm.open_console(cmode.OPEN_QUICK))
 
-	def test(arg):
-		arg.fm.notify(str(arg.n))
-	bind('x', test)
-
 	# definitions which require their own function:
 	def ggG(default):
 		# moves to an absolute point, or to a predefined default
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index 5ff768fb..9b42e3c6 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -2,7 +2,6 @@ from ranger.fsobject import BAD_INFO, File, FileSystemObject
 from ranger.shared import SettingsAware
 from ranger.ext.accumulator import Accumulator
 from collections import deque
-from ranger import log
 import ranger.fsobject
 
 def sort_by_basename(path):
@@ -113,7 +112,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware):
 		in each iteration.
 		"""
 
-#		log("generating loader for " + self.path + "(" + str(id(self)) + ")")
+		# log("generating loader for " + self.path + "(" + str(id(self)) + ")")
 		from os.path import join, isdir, basename
 		from os import listdir
 
diff --git a/ranger/fsobject/loader.py b/ranger/fsobject/loader.py
index a67c75fb..674af1f3 100644
--- a/ranger/fsobject/loader.py
+++ b/ranger/fsobject/loader.py
@@ -1,6 +1,5 @@
 from collections import deque
 from time import time
-from ranger import log
 from ranger.shared import FileManagerAware
 import math
 
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py
index 838de3fb..bace4e0c 100644
--- a/ranger/gui/displayable.py
+++ b/ranger/gui/displayable.py
@@ -1,6 +1,5 @@
 from ranger.shared import FileManagerAware, EnvironmentAware
 from ranger.gui.curses_shortcuts import CursesShortcuts
-from ranger import log
 import _curses
 
 
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 6ab49c62..cca9e1f6 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -1,7 +1,6 @@
 """The BrowserColumn widget displays the contents of a directory or file."""
 from . import Widget
 from .pager import Pager
-from ranger import log
 
 class BrowserColumn(Pager, Widget):
 	main_column = False
diff --git a/ranger/keyapi.py b/ranger/keyapi.py
index 56552584..82f1495d 100644
--- a/ranger/keyapi.py
+++ b/ranger/keyapi.py
@@ -3,7 +3,6 @@ from curses.ascii import *
 from ranger import RANGERDIR
 from ranger.gui.widgets import console_mode as cmode
 from ranger.container.bookmarks import ALLOWED_KEYS as ALLOWED_BOOKMARK_KEYS
-from ranger import log
 
 def make_abbreviations(command_list):
 	def bind(*args):