Make merge and check handle empty families correctly

svn: r646
This commit is contained in:
Don Allingham
2001-12-20 18:50:09 +00:00
parent 498c37b810
commit a3cdadd56a
6 changed files with 68 additions and 53 deletions

View File

@@ -394,7 +394,7 @@ class SingleDate:
raise Date.Error,val
def setMonth(self,val):
if val > 12 or val < 0:
if val > 14 or val < 0:
self.month = UNDEF
else:
self.month = val - 1