Updated for release. [ci skip]

This commit is contained in:
Bastian Kleineidam 2013-03-11 20:14:27 +01:00
parent dc2e3c807f
commit 950a958e30
2 changed files with 9 additions and 6 deletions

View file

@ -1,6 +1,6 @@
Project: dosage Project: dosage
Version: 1.12 Version: 1.13
Release-Focus: Minor bugfixes Release-Focus: Minor feature enhancements
Hide: N Hide: N
Website-URL: http://wummel.github.com/dosage/ Website-URL: http://wummel.github.com/dosage/
Changelog-URL: https://github.com/wummel/dosage/blob/master/doc/changelog.txt Changelog-URL: https://github.com/wummel/dosage/blob/master/doc/changelog.txt
@ -8,7 +8,9 @@ Tar/GZ-URL: http://github.com/downloads/wummel/dosage/dosage-${version}.tar.gz
GIT-Tree-URL: https://github.com/wummel/dosage.git GIT-Tree-URL: https://github.com/wummel/dosage.git
Windows-installer-URL: http://github.com/downloads/wummel/dosage/dosage-${version}.exe Windows-installer-URL: http://github.com/downloads/wummel/dosage/dosage-${version}.exe
Option parsing for -l, --singlelist and --version has been fixed. The following comic strips have been added: AhoiPolloi, AxeCop, Bearmageddon, DeadWinter,
The following comic strips have been added: AlphaLuna, AlphaLunaSpanish, HarkAVagrant, IAmArg, LoadingArtist, Nnewts, PHDComics, PokeyThePenguin,
BrentalFloss BrentalFlossFit, BrentalFlossGuest, DangerouslyChloe, SnowFlame, WorldOfMrToast and Zwarwald.
MagickChicks, MenageA3, Namesake, ShadowGirls, StickyDillyBuns. The HTML output embeds the comic images now and the --output option
can be specified multiple times.
Several bugs have also been fixed.

View file

@ -180,6 +180,7 @@ class HtmlEventHandler(EventHandler):
_handler_classes = {} _handler_classes = {}
def addHandlerClass(clazz): def addHandlerClass(clazz):
"""Register handler class."""
if not issubclass(clazz, EventHandler): if not issubclass(clazz, EventHandler):
raise ValueError("%s must be subclassed from %s" % (clazz, EventHandler)) raise ValueError("%s must be subclassed from %s" % (clazz, EventHandler))
_handler_classes[clazz.name] = clazz _handler_classes[clazz.name] = clazz