about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-01 00:57:26 +0100
committerhut <hut@lavabit.com>2009-12-01 00:57:26 +0100
commitc2b99d5235cadcd541ed00909f7df5e0ace7ac42 (patch)
tree7767d9cd332a5af34e17276ad86d4b944cbe8f08
parentf8e96a972786a2448b764cba4be88aa05d708933 (diff)
downloadranger-c2b99d5235cadcd541ed00909f7df5e0ace7ac42.tar.gz
renamed api to helper
since it had nothing to do with an api
-rw-r--r--ranger/directory.py2
-rw-r--r--ranger/fsobject.py2
-rw-r--r--ranger/gui/ui.py2
-rw-r--r--ranger/helper.py (renamed from ranger/api.py)0
4 files changed, 3 insertions, 3 deletions
diff --git a/ranger/directory.py b/ranger/directory.py
index f9175778..cb5b9ddc 100644
--- a/ranger/directory.py
+++ b/ranger/directory.py
@@ -1,6 +1,6 @@
 import ranger.fsobject
 from ranger.file import File
-#from ranger.api import log
+#from ranger.helper import log
 
 from ranger.fsobject import FileSystemObject as SuperClass
 
diff --git a/ranger/fsobject.py b/ranger/fsobject.py
index 48a6eee2..c4a1e882 100644
--- a/ranger/fsobject.py
+++ b/ranger/fsobject.py
@@ -42,7 +42,7 @@ class FileSystemObject(object):
 		self.loaded = True
 
 		import os
-		from ranger.api import human_readable
+		from ranger.helper import human_readable
 		if os.access(self.path, os.F_OK):
 			self.stat = os.stat(self.path)
 			self.islink = os.path.islink(self.path)
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 34f7c54c..78adde28 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -61,7 +61,7 @@ class UI():
 	def press(self, key, fm):
 		self.env.key_append(key)
 
-#		from ranger.api import log
+#		from ranger.helper import log
 #		log(self.env.keybuffer)
 
 		try:
diff --git a/ranger/api.py b/ranger/helper.py
index 5ca40175..5ca40175 100644
--- a/ranger/api.py
+++ b/ranger/helper.py