Lines Matching refs:line
54 """A class that represents a single line of a SysV package's pkgmap.
60 def __init__(self, line, basedir = ""):
61 array = line.split()
152 line = fo.readline().rstrip()
153 if line == PKG_HDR_END:
155 pkgs += [ line.split()[0] ]
214 for line in fp:
215 line = line.rstrip('\n')
217 if len(line) == 0 or line[0] == '#':
220 if line[0] == 'P':
222 type, pkg, desc = line.split(None, 2)
224 type, pkg = line.split()
237 for line in fp:
238 line = line.lstrip().rstrip('\n')
240 if len(line) == 0:
244 if line[0] == '#':
245 if line.startswith("#FASPACD="):
247 line.lstrip("#FASPACD=").split()
250 (key, val) = line.split('=', 1)
272 for line in fp:
273 line = line.rstrip('\n')
275 if len(line) == 0 or line[0] == '#':
278 if line[0] == ':':
281 pkgmap += [ PkgMapLine(line, self.basedir) ]