about summary refs log tree commit diff stats
path: root/ranger/actions.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-01 17:19:48 +0100
committerhut <hut@lavabit.com>2010-01-01 17:19:48 +0100
commit7d6389d61aa56db355033166b415dd0b83dabff9 (patch)
tree7a587b65950debe47e90d059cd2db90bfbd1e1b4 /ranger/actions.py
parent501f501418d8894af2783a2681e5669c3f40586d (diff)
downloadranger-7d6389d61aa56db355033166b415dd0b83dabff9.tar.gz
bookmarks: changed NonexistantBookmark to KeyError
Diffstat (limited to 'ranger/actions.py')
-rw-r--r--ranger/actions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index d379c6cf..c1ea7485 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -110,14 +110,13 @@ class Actions(EnvironmentAware, SettingsAware):
 
 	def enter_bookmark(self, key):
 		"""Enter the bookmark with the name <key>"""
-		from ranger.container.bookmarks import NonexistantBookmark
 		try:
 			destination = self.bookmarks[key]
 			pwd = self.env.pwd
 			if destination.path != pwd.path:
 				self.bookmarks.enter(key)
 				self.bookmarks.remember(pwd)
-		except NonexistantBookmark:
+		except KeyError:
 			pass
 
 	def set_bookmark(self, key):