From 61d51820b1674f7cc2822b0abe02cc87fa6dc087 Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Sun, 6 Jul 2014 21:01:06 +0200 Subject: remove unused variable --- mgagnome | 1 - 1 file changed, 1 deletion(-) 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' + re.escape(search_for) + r'[ \t]*:[ \t]*)(?:\%' + re.escape(search_for) + r'|\%\{' + re.escape(search_for) + r'\})(?P[ \t]*\n)', re.MULTILINE + re.IGNORECASE) - regexp = r'^(?P\%define[ \t]+'+ re.escape(search_for) + r'[ \t]+(?P\S+))(?P[ \t]*\n)' re_variable = re.compile(r'^(?P\%define[ \t]+'+ re.escape(search_for) + r'[ \t]+(?P[^\n]+?))(?P[ \t]*\n)', re.MULTILINE + re.IGNORECASE) mo = re_variable.search(data) -- cgit v1.2.1