2003-06-26 Tim Waugh <twaugh@redhat.com>

* src/plugins/WebPage.py: Fix gendex creation.


svn: r1789
This commit is contained in:
Tim Waugh 2003-06-26 22:28:31 +00:00
parent 95ab5bcaea
commit 68ea2ec12d
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
2003-06-26 Tim Waugh <twaugh@redhat.com> 2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/plugins/WebPage.py: Fix gendex creation.
* src/ImgManip.py: Seems to need the SIGCHLD handler resetting here * src/ImgManip.py: Seems to need the SIGCHLD handler resetting here
to prevent EINTR causing traceback. to prevent EINTR causing traceback.
* src/plugins/Ancestors.py: Cite sources. * src/plugins/Ancestors.py: Cite sources.

View File

@ -658,11 +658,11 @@ class WebReport(Report.Report):
except IndexError: except IndexError:
print "Month index error - %d" % mon print "Month index error - %d" % mon
retval = str(year) retval = str(year)
if mode == Date.SingleDate.about: if mode == Date.Calendar.ABOUT:
retval = "ABT %s" % retval retval = "ABT %s" % retval
elif mode == Date.SingleDate.before: elif mode == Date.Calendar.BEFORE:
retval = "BEF %s" % retval retval = "BEF %s" % retval
elif mode == Date.SingleDate.after: elif mode == Date.Calendar.AFTER:
retval = "AFT %s" % retval retval = "AFT %s" % retval
return retval return retval