Lines Matching refs:line
161 for line in comment.splitlines():
162 line = line.strip()
163 if line == "":
165 comm += " " + line + "\n"
179 for line in output.split("\n"):
180 str += "| " + line.rstrip() + "\n"
191 for line in output.split("\n"):
192 str += "| " + line.rstrip() + "\n"
445 # line to be passed to 'su -c' are passed as a
2796 for line in commands.split("\n"):
2797 line = line.strip()
2801 assert not line.startswith("import"), \
2803 assert not line.startswith("generate"), \
2806 if line == "":
2808 if line.startswith("add"):
2811 accumulate.append(line[4:])
2847 if line.startswith("open"):
2848 current_fmri = line[5:].strip()
2866 raise UnexpectedExitCodeException(line, exit, retcode,
2915 """Run pkg.depot-config, with command line arguments in args.
3457 image. The counting of appearances is line based. Repeated
3458 string on the same line will be count once."""
3476 for line in f:
3478 if k in line:
3498 for line in f:
3499 if any(s in line for s in strings):
3507 """Append a line to a file in the image."""
3591 for line in output.splitlines():
3592 if line.find("Traceback") > -1:
4151 # will fail - the following line is commented out: