Home | History | Annotate | Download | only in webkitpy

Lines Matching full:self

45     def __init__(self, path):
46 self.path = path
72 def latest_entry(self):
73 changelog_file = open(self.path)
75 return self._parse_latest_entry_from_file(changelog_file)
82 def _wrap_line(self, line):
85 initial_indent=self._changelog_indent,
88 subsequent_indent=self._changelog_indent)
93 def _wrap_lines(self, message):
94 lines = [self._wrap_line(line) for line in message.splitlines()]
98 def _message_for_revert(self, revision, reason, bug_url):
107 return self._wrap_lines(message)
109 def update_for_revert(self, revision, reason, bug_url=None):
111 "%sReviewed by NOBODY \(OOPS!\)\." % self._changelog_indent)
114 for line in fileinput.FileInput(self.path, inplace=1):
116 message_lines = self._message_for_revert(revision,
130 def set_reviewer(self, reviewer):
132 for line in fileinput.FileInput(self.path, inplace=1):