summary refs log tree commit diff stats
path: root/ranger/applications.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/applications.py')
-rw-r--r--ranger/applications.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/applications.py b/ranger/applications.py
index 85dc50f5..39601e0e 100644
--- a/ranger/applications.py
+++ b/ranger/applications.py
@@ -2,21 +2,25 @@ ALLOWED_FLAGS = 'sdpSDP'
 
 class Applications(object):
 	def get(self, app):
+		"""Looks for an application, returns app_default if it doesn't exist"""
 		try:
 			return getattr(self, 'app_' + app)
 		except AttributeError:
 			return self.app_default
 
 	def has(self, app):
+		"""Returns whether an application is defined"""
 		return hasattr(self, 'app_' + app)
 
 	def all(self):
+		"""Returns a list with all application functions"""
 		return [x for x in self.__dict__ if x.startswith('app_')]
 
 import os
 null = open(os.devnull, 'a')
 
 def run(*args, **kw):
+	"""Run files with the specified parameters"""
 	from subprocess import Popen
 	from subprocess import PIPE
 	from ranger.ext.waitpid_no_intr import waitpid_no_intr
506d1b10f1dde2c287ebe84ef37'>a654e4ec ^
76755b28 ^

4a39d12d ^


4c4d325c ^
a654e4ec ^
805d58c6 ^
fe8bf967 ^
4690ce81 ^
4a39d12d ^
76755b28 ^

a654e4ec ^



e5c11a51 ^






















a654e4ec ^

76755b28 ^
e5c11a51 ^
a654e4ec ^
204dae92 ^



































76755b28 ^


a654e4ec ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95