From: davyd Date: Mon, 22 Mar 2004 06:15:06 +0000 (+0000) Subject: bug fixes X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=39cbf12e7c891c3ac0d7e57edfe19cfd4edbff42;p=planet-ucc.git bug fixes --- diff --git a/CacheHandler.py b/CacheHandler.py index 42070a3..64970ef 100644 --- a/CacheHandler.py +++ b/CacheHandler.py @@ -13,7 +13,7 @@ class CacheHandler: return "%s_%s.cache" % (title.replace(' ', '_'), feed.replace(' ', '_').replace('http://', '').replace('/', '_')) def storeBlog(self, blog): - name = self.__create_name__(blog.blogTitle, blog.feedURL) + name = self.__create_name__(blog.blogName, blog.feedURL) # write the blog to disk try: cPickle.dump(blog, open(os.path.join('cache', name), 'w')) diff --git a/Changelog b/Changelog index 3d91b86..bf8e029 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,10 @@ +2004-03-22 +========== + * CacheHandler.py + Fixed glitch caused by previous changes. + * FOAFWriter.py + XML mistake, oops. + 2004-03-20 ========== * update-planet, XMLWriter.py, XHTMLWriter.py, RSS1Writer.py, RSS2Writer.py, diff --git a/FOAFWriter.py b/FOAFWriter.py index 39ff3fe..76de60e 100644 --- a/FOAFWriter.py +++ b/FOAFWriter.py @@ -21,7 +21,7 @@ class FOAFWriter: output += ' \n' output += ' %s\n' % blog.blogName output += ' \n' - output += ' \n' % blog.blogURL + output += ' \n' % blog.blogURL output += ' %s\n' % blog.blogTitle output += ' \n' output += ' \n' % blog.feedURL