Package moap :: Package command :: Module cl :: Class ChangeEntry
[hide private]
[frames] | no frames]

Class ChangeEntry

source code

Entry --+
        |
       ChangeEntry

I represent one entry in a ChangeLog file.

Instance Methods [hide private]
 
__init__(self) source code
 
_checkNotEdited(self, line) source code
 
parse(self, lines) source code
 
match(self, needle, caseSensitive)
Match the given needle against the given entry.
source code
Class Variables [hide private]
  date = None
  name = None
  address = None
Instance Variables [hide private]
str text = None
the text of the message, without name line or preceding/following newlines
str contributors = None
list of people who've contributed to this entry
list of str notEdited = None
list of fields with default template value @type
list of str files
list of files referenced in this ChangeLog entry

Inherited from Entry: lines

Method Details [hide private]

parse(self, lines)

source code 
Parameters:
  • lines (list of str)

match(self, needle, caseSensitive)

source code 

Match the given needle against the given entry.

Subclasses should override this method.

Parameters:
  • caseSensitive - whether to do case sensitive searching
Returns:
whether the entry contains the given needle.
Overrides: Entry.match
(inherited documentation)