summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/UpdateManager.py2
1 files changed, 1 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: