summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmgagnome1
1 files changed, 0 insertions, 1 deletions
diff --git a/mgagnome b/mgagnome
index 7406d5f..140fba6 100755
--- a/mgagnome
+++ b/mgagnome
@@ -436,7 +436,6 @@ class SpecFile(object):
converted_defines = []
for search_for in ('name', 'version', 'release', 'summary', 'group'):
re_spec = re.compile(r'^(?P<keeppre>' + re.escape(search_for) + r'[ \t]*:[ \t]*)(?:\%' + re.escape(search_for) + r'|\%\{' + re.escape(search_for) + r'\})(?P<keeppost>[ \t]*\n)', re.MULTILINE + re.IGNORECASE)
- regexp = r'^(?P<keeppre>\%define[ \t]+'+ re.escape(search_for) + r'[ \t]+(?P<variable>\S+))(?P<keeppost>[ \t]*\n)'
re_variable = re.compile(r'^(?P<keeppre>\%define[ \t]+'+ re.escape(search_for) + r'[ \t]+(?P<definition>[^\n]+?))(?P<keeppost>[ \t]*\n)', re.MULTILINE + re.IGNORECASE)
mo = re_variable.search(data)