diff options
| author | Sebastian Heinlein <sebi@sebi-pc> | 2006-10-09 16:31:24 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-pc> | 2006-10-09 16:31:24 +0200 |
| commit | 048a759f3996a898b43427e131c7a06d9a981dda (patch) | |
| tree | 69c700c73664e9637980b1098ba8b4d480dc40e2 /SoftwareProperties/SoftwareProperties.py | |
| parent | f12c7850941f961c9b176248e81479cf7332ab6d (diff) | |
| parent | 71121af388843e45eb2b655b6d1bd94542503651 (diff) | |
| download | python-apt-048a759f3996a898b43427e131c7a06d9a981dda.tar.gz | |
* merge with mvo
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index 14ddeefc..983a8cce 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -33,8 +33,7 @@ from gettext import gettext as _ import os import string import re - -#sys.path.append("@prefix/share/update-manager/python") +from xml.sax.saxutils import escape from UpdateManager.Common.SimpleGladeApp import SimpleGladeApp from UpdateManager.Common.HelpViewer import HelpViewer @@ -46,6 +45,7 @@ import dialog_add_sources_list from dialog_apt_key import apt_key from utils import * + (LIST_MARKUP, LIST_ENABLED, LIST_ENTRY_OBJ) = range(3) CONF_MAP = { @@ -701,7 +701,7 @@ class SoftwareProperties(SimpleGladeApp): if source.template == None: if source.comment: - contents = "<b>%s</b>" % source.comment + contents = "<b>%s</b>" % escape(source.comment) # Only show the components if there are more than one if len(source.comps) > 1: for c in source.comps: |
