diff options
| -rw-r--r-- | UpdateManager/UpdateManager.py | 2 | ||||
| -rw-r--r-- | debian/changelog | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index ff77eddf..6c06ca3c 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -325,7 +325,7 @@ class UpdateManager(SimpleGladeApp): end_iter = changes_buffer.get_end_iter() - version_match = re.match("^%s \((.*)\)(.*)$" % (srcpkg), line) + version_match = re.match(r'^%s \((.*)\)(.*)$' % re.escape(srcpkg), line) #bullet_match = re.match("^.*[\*-]", line) author_match = re.match("^.*--.*<.*@.*>.*$", line) if version_match: diff --git a/debian/changelog b/debian/changelog index 70b2813a..586c1077 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ update-manager (0.42.2ubuntu13) dapper; urgency=low * po/POTFILES.in: add missing desktop file (ubuntu: #39410) * UpdateManager/UpdateManager.py: - fix in the get_changelog logic (ubuntu: #40058) + - correct a error in the changelog parser (ubuntu: #40060) -- |
