diff options
author | Olav Vitters <olav@vitters.nl> | 2014-07-06 21:01:06 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2014-07-06 21:01:06 +0200 |
commit | 61d51820b1674f7cc2822b0abe02cc87fa6dc087 (patch) | |
tree | 1f47ac1b661946d3c6f411eb21959d8895606c5d | |
parent | 78ce6f02df652a57f257d933d0032d4f6d01a0a8 (diff) | |
download | mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.tar mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.tar.gz mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.tar.bz2 mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.tar.xz mgagnome-61d51820b1674f7cc2822b0abe02cc87fa6dc087.zip |
remove unused variable
-rwxr-xr-x | mgagnome | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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) |