parent
bf634ee8e8
commit
b18676aaf4
@ -1765,9 +1765,9 @@ class Date:
|
|||||||
"""
|
"""
|
||||||
Return True if the date contains no information (empty text).
|
Return True if the date contains no information (empty text).
|
||||||
"""
|
"""
|
||||||
return (self.modifier == Date.MOD_TEXTONLY and not self.text) or \
|
return not((self.modifier == Date.MOD_TEXTONLY and self.text)
|
||||||
(self.get_start_date() == Date.EMPTY
|
or self.get_start_date() != Date.EMPTY
|
||||||
and self.get_stop_date() == Date.EMPTY)
|
or self.get_stop_date() != Date.EMPTY)
|
||||||
|
|
||||||
def is_compound(self):
|
def is_compound(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user