Fixed a bug where a "&" character in the channels list would result in gPodder to crash
(thanks to Gaim Roitgrund for bug report), pushed version number and date in bin/gpodder git-svn-id: svn://svn.berlios.de/gpodder@108 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
parent
abff225810
commit
f82f5cd22c
6
AUTHORS
6
AUTHORS
|
@ -13,4 +13,10 @@ Thanks to all the other patch writers:
|
|||
Stylianos Papanastasiou <stelios@dcs.gla.ac.uk> (patch for "downloaded move")
|
||||
Ortwin Forster <ortwin@videotron.ca> (patch for saxutils.escape in localdb)
|
||||
|
||||
|
||||
Thanks for bug reports go out to:
|
||||
|
||||
Gaim Roitgrund
|
||||
|
||||
|
||||
(..and all the others I forgot.. sorry :)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
Thu, 08 Jun 2006 23:58:49 +0200 <thp@perli.net>
|
||||
* Fixed a bug where a "&" character in the channels list would
|
||||
result in gPodder to crash - thanks to Gaim Roitgrund for
|
||||
pointint out that error and providing a nice bug report!
|
||||
* Pushed version and release date
|
||||
|
||||
Mon, 05 Jun 2006 15:55:01 +0200 <thp@perli.net>
|
||||
* Packages you will need for debian compile (in README)
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
# PLEASE DO NOT CHANGE FORMAT OF __version__ LINE (setup.py reads this)
|
||||
|
||||
__author__ = "Thomas Perl <thp@perli.net>"
|
||||
__version__ = "0.7+svn20060501"
|
||||
__date__ = "2006-05-01"
|
||||
__version__ = "0.7+svn20060609"
|
||||
__date__ = "2006-06-09"
|
||||
__copyright__ = "Copyright (c) 2005-2006 %s. All rights reserved." % __author__
|
||||
__licence__ = "GPL"
|
||||
|
||||
|
|
|
@ -56,6 +56,8 @@ from gtk.gdk import PixbufLoader
|
|||
|
||||
from ConfigParser import ConfigParser
|
||||
|
||||
from xml.sax import saxutils
|
||||
|
||||
# global debugging variable, set to False on release
|
||||
# TODO: while developing a new version, set this to "True"
|
||||
debugging = True
|
||||
|
@ -296,8 +298,8 @@ class gPodderChannelWriter( object):
|
|||
print >> fd, '<channels>'
|
||||
for chan in channels:
|
||||
print >> fd, ' <channel name="%s">' % chan.filename
|
||||
print >> fd, ' <url>%s</url>' % chan.url
|
||||
print >> fd, ' <download_dir>%s</download_dir>' % chan.save_dir
|
||||
print >> fd, ' <url>%s</url>' % saxutils.escape( chan.url)
|
||||
print >> fd, ' <download_dir>%s</download_dir>' % saxutils.escape( chan.save_dir)
|
||||
print >> fd, ' </channel>'
|
||||
print >> fd, '</channels>'
|
||||
fd.close()
|
||||
|
|
Loading…
Reference in New Issue