summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-31 05:28:08 +0200
committerhut <hut@lavabit.com>2010-03-31 05:28:08 +0200
commitfa1b534545a667a25994f845ecb3a4525a58b845 (patch)
treee3e3344e83dec2893cc467c7c8589f2ee7fd0fd9
parentc8085cbd1b83ba69ddb76c2d1a4dbfb5b1eb10ea (diff)
downloadranger-fa1b534545a667a25994f845ecb3a4525a58b845.tar.gz
clean up
-rw-r--r--INSTALL10
-rw-r--r--Makefile12
-rw-r--r--ranger/fsobject/directory.py1
-rw-r--r--ranger/gui/ui.py6
-rw-r--r--ranger/gui/widgets/pager.py1
5 files changed, 0 insertions, 30 deletions
diff --git a/INSTALL b/INSTALL
index d14d3891..5fc5ca6b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -35,16 +35,6 @@ though you might want to read the Makefile first)
    python -c 'import sys; print("\n".join(sys.path))'
 
 
-3. Optionally, you can activate an extra feature: When you exit ranger,
-   the directory of the current shell can be changed to the last visited
-   directory in ranger.  To do so, add this alias to your shell rc file:
-
-   alias rng="source ranger ranger"
-
-   (Unfortunately this feature is shell dependent.  It has been
-   successfully tested with BASH and ZSH only.)
-
-
 Uninstalling
 ============
 
diff --git a/Makefile b/Makefile
index 06f3dc92..2acb95a1 100644
--- a/Makefile
+++ b/Makefile
@@ -90,15 +90,3 @@ commit: test
 
 snapshot:
 	git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz
-
-minimal_snapshot:
-	@echo 'This is not quite working well. I will abort now' && false
-	git checkout -b no_help
-	git rm -rf doc
-	git rm -rf test
-	git rm all_tests.py
-	git rm TODO
-	git commit -a -m'removed documentation'
-	git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz
-	git reset --hard no_help^
-	git branch -D no_help
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index 86e78b33..140faef1 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -17,7 +17,6 @@ import os
 from collections import deque
 from time import time
 
-from ranger import log
 from ranger.fsobject import BAD_INFO, File, FileSystemObject
 from ranger.shared import SettingsAware
 from ranger.ext.accumulator import Accumulator
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index ba8acea9..68285718 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -84,8 +84,6 @@ class UI(DisplayableContainer):
 
 	def suspend(self):
 		"""Turn off curses"""
-		# from ranger import log
-		# log("suspending ui!")
 		self.win.keypad(0)
 		curses.nocbreak()
 		curses.echo()
@@ -121,10 +119,6 @@ class UI(DisplayableContainer):
 		except _curses.error:
 			return
 
-		# from ranger import log
-		# log('{0:0>28b} ({0})'.format(event.bstate))
-		# log('y: {0}  x: {1}'.format(event.y, event.x))
-
 		DisplayableContainer.click(self, event)
 
 	def handle_key(self, key):
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index e376a2a6..08702f3f 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -20,7 +20,6 @@ import re
 from . import Widget
 from ranger.container.commandlist import CommandList
 from ranger.ext.move import move_between
-from ranger import log
 
 BAR_REGEXP = re.compile(r'\|\d+\?\|')
 QUOTES_REGEXP = re.compile(r'"[^"]+?"')