summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-24 19:51:30 +0100
committerhut <hut@lavabit.com>2010-01-24 19:51:30 +0100
commitcedb55349e75e36696ca275ee98d0a902d3286e7 (patch)
treefc8b5ee436fcb592fb41245cc0852f5767211928
parent4f1a6e67b5a29f30bb3c5bc0e26938c8a6d3ff90 (diff)
downloadranger-cedb55349e75e36696ca275ee98d0a902d3286e7.tar.gz
bugfix
-rw-r--r--ranger/actions.py2
-rw-r--r--ranger/gui/widgets/console.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index f02e3cb4..406faf64 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -237,7 +237,7 @@ class Actions(EnvironmentAware, SettingsAware):
 	def execute_file(self, files, **kw):
 		"""Execute a file.
 		app is the name of a method in Applications, without the "app_"
-		flags is a string consisting of applications.ALLOWED_FLAGS
+		flags is a string consisting of runner.ALLOWED_FLAGS
 		mode is a positive integer.
 		Both flags and mode specify how the program is run."""
 
diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py
index 094a5c17..0b4f76c7 100644
--- a/ranger/gui/widgets/console.py
+++ b/ranger/gui/widgets/console.py
@@ -542,7 +542,7 @@ class QuickOpenConsole(ConsoleWithTab):
 		return self.fm.apps.has(arg)
 
 	def _is_flags(self, arg):
-		from ranger.applications import ALLOWED_FLAGS
+		from ranger.runner import ALLOWED_FLAGS
 		return all(x in ALLOWED_FLAGS for x in arg)
 
 	def _is_mode(self, arg):
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260