summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2014-07-06 21:01:06 +0200
committerOlav Vitters <olav@vitters.nl>2014-07-06 21:01:06 +0200
commit61d51820b1674f7cc2822b0abe02cc87fa6dc087 (patch)
tree1f47ac1b661946d3c6f411eb21959d8895606c5d
parent78ce6f02df652a57f257d933d0032d4f6d01a0a8 (diff)
downloadmgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.tar
mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.tar.gz
mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.tar.bz2
mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.tar.xz
mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.zip
remove unused variable
-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)