blob: b7639a2aade21a7a5c33c72b27737cacfc4628bf (
plain)
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
|
import os
class InstallMethod:
def protectedPartitions(self):
return None
def readCompsViaMethod(self, hdlist):
pass
def readComps(self, hdlist):
# see if there is a comps in PYTHONPATH, otherwise fall thru
# to method dependent location
path = None
if os.environ.has_key('PYTHONPATH'):
for f in string.split(os.environ['PYTHONPATH'], ":"):
if os.access (f+"/comps", os.X_OK):
path = f+"/comps"
break
if path:
return ComponentSet(path, hdlist)
else:
return self.readCompsViaMethod(hdlist)
pass
def getFilename(self, h, timer):
pass
def readHeaders(self):
pass
def systemUnmounted(self):
pass
def systemMounted(self, fstab, mntPoint, selected):
pass
def filesDone(self):
pass
def unlinkFilename(self, fullName):
pass
def __init__(self):
pass
def getSourcePath(self):
pass
|