Lines Matching full:line
58 # The first line should be a date line.
64 for line in changelog_file:
66 if ChangeLog.date_line_regexp.match(line):
69 entry_lines.append(line)
70 return None # We never found a date line!
82 def _wrap_line(self, line):
83 return textwrap.fill(line,
94 lines = [self._wrap_line(line) for line in message.splitlines()]
103 # Add an extra new line after the rollout links, before any reason.
114 for line in fileinput.FileInput(self.path, inplace=1):
115 if reviewed_by_regexp.search(line):
119 print reviewed_by_regexp.sub(message_lines, line),
121 # line and the first changed file.
124 if line.find('*') >= 0: # each changed file is preceded by a *
128 print line,
132 for line in fileinput.FileInput(self.path, inplace=1):
134 print line.replace("NOBODY (OOPS!)", reviewer.encode("utf-8")),