Lines Matching refs:line
43 for line in f.xreadlines():
44 if len(line) > 0 and line[-1] == "\n":
45 line = line[:-1]
46 if len(line) > 0 and line[-1] == "\r":
47 line = line[:-1]
49 line = string.strip(line)
50 if len(line) == 0 or line[0] == "#":
53 m = re_service.match(line)
70 line = '/* generated by genserv.py - do not edit */\nstatic const char _services[] = "\\\n'
72 line += str(s)+"\\\n"
73 line += '\\0";\n'
74 print line