aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido G√ľnther <agx@sigxcpu.org>2012-01-16 23:20:13 +0100
committerGuido G√ľnther <agx@sigxcpu.org>2012-01-16 23:20:13 +0100
commit468bff2c268fea75af3170f8237421a26cb0213b (patch)
tree96d4b05bcc0e04ad856fdfa3b1fb0702f7023a5e
parentf2ed09cb53f77c994e3b741b47859723bb5ab090 (diff)
Adjust to python-debian in squeeze
-rw-r--r--htmlchangelog.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/htmlchangelog.py b/htmlchangelog.py
index 7f08f30..426b994 100644
--- a/htmlchangelog.py
+++ b/htmlchangelog.py
@@ -3,7 +3,7 @@
import re
import cgi
from genshi.template import TemplateLoader
-import debian_bundle.changelog
+import debian.changelog
_TEMPLATEDIR='templates/'
@@ -41,11 +41,11 @@ class HTMLChangelogFilter(object):
return block
-class HTMLChangelog(debian_bundle.changelog.Changelog):
+class HTMLChangelog(debian.changelog.Changelog):
def __init__(self, file=None, max_blocks=None, allow_empty_author=False, strict=True, templatedir=_TEMPLATEDIR, vcsbrowser=None):
- debian_bundle.changelog.Changelog.__init__(self, file=file, max_blocks=max_blocks,
- allow_empty_author=allow_empty_author,
- strict=strict)
+ debian.changelog.Changelog.__init__(self, file=file, max_blocks=max_blocks,
+ allow_empty_author=allow_empty_author,
+ strict=strict)
self.templatedir = templatedir
loader = TemplateLoader(self.templatedir)
self.html_tmpl = loader.load('cl.html')